Principles of using images
Great imagery stays true to your brand: it conveys a consistent style in how busy the images are, their colour, framing and mood. A great image is also relevant to its context. For example, the hero image on a services page could show positive human interaction, such as giving and receiving help.
Memorable
Images should reflect reality to strengthen the user's connection with and recognition of the content.
Human
Images of people are recommended, as they resonate more with users.
Future forward
The outlook of the content should be progressive and optimistic.
Using images
Keeping the principles and the need for context in mind, follow the approach below.
Photography
A perfect image is contextual, and the approach must be practical. It is recommended to conduct a photo shoot and use real images that are relevant to your entity. If context-relevant images are not available first hand, source them from third-party providers. The objective is to communicate real, relevant content visually.
Simplicity in the background
Use images with minimal content in the background, so that the subject is in focus. Do not use images with too much detail when the message can be communicated more simply.
The example here communicates the use of a VR headset; the simple approach makes it more memorable.


Colour reduction
Reduce the number of colours, or use natural colour. Do not use too many colours, or manipulate colours with an unrealistic hue, saturation, brightness or contrast.


Natural lighting
Capture photos in natural lighting and keep the lighting balanced, even if it means taking the image at night. Do not use images where the lighting is inaccurate or casts shadows over the subject in focus.


Natural colour
Use the natural colour of the image, and adjust the white balance for a better colour balance. Do not apply colour filters or fill objects with unnatural colours.


When selecting photographs, keep the following in mind:
- Use landscapes, cityscapes, natural beauty and architectural landmarks.
- Use people, reflect diversity and show equality.
Framing
The rule of thirds helps control the visual weight of the objects in an image:
- Centre single subjects and groups photographed against a solid background.
- Apply the rule of thirds to images that have a distinct foreground and background, placing the subject on one of the thirds.


Cropping
Crop an image around its foreground and focal point. A good crop emphasises the subject and removes clutter, so that there is greater focus on the focal point.
Tailwind CSS includes aspect-ratio utilities, such as aspect-square and aspect-video, and the design system provides the Aspect ratio component to crop images to a consistent ratio. Use the following ratios:


aspect-square rounded-full

aspect-[3/4]

aspect-square

aspect-[3/2]

aspect-video

aspect-[21/9]
<!-- Tailwind CSS utilities -->
<img src="service-hero.jpg" alt="..." class="aspect-video w-full object-cover" />
<!-- Design system component -->
<aegov-aspect-ratio ratio="square md:video xl:21/9">
<img src="service-hero.jpg" alt="..." />
</aegov-aspect-ratio>
People
Use photographs that reflect the diversity and happiness of the people of the UAE, and the quality of life that the nation provides to its citizens and residents.



Team photography
A team is a group of people on a single mission, and this unity should be conveyed in a consistent visual style. The team section is available as a block in the design system.
- Images should be uniform in weight: each person occupies the same amount of space in their image.
- Take the photographs in natural light, at a similar time of day and in the same location, for consistent brightness and shadows.








Visual complexity
Visual complexity, or the "busyness" of an image, refers to the number of elements, colours and the amount of contrast in it. Consider it carefully when choosing images for a website.
Foreground and background
For images with several objects, such as events or outdoor scenes, separate the foreground from the background and always concentrate on the subject.
Use images with a prominent subject; the focal point should occupy approximately 50% of the image, in the foreground. Do not blur the background artificially to create focus. When a visually complex photograph cannot be avoided, use one with a natural blur, or crop it.



Colour, tone and contrast
If a specific colour palette should be visible in your images, set up the photo shoot to capture the intended colour tones. Do not add colour overlays in post-production; only correct the colour temperature for the location.




Text on images
Ideally, use an image that has space for text. If you have to use an image with limited or no space, add a black overlay to create contrast. Text on images must still meet a contrast ratio of at least 4.5:1, or 3:1 for large text, as required by Success Criterion 1.4.3 Contrast (Minimum).








Separate the image and the text
Whenever possible, place the text next to the image rather than on it. This always gives the best reading experience.

In line with the UAE Vision 2021, TDRA aims to be the main driver in launching the fifth generation of commercial mobile services in the country.
Alternative text
Every image needs a text alternative, as required by Success Criterion 1.1.1 Non-text Content, so that people who use screen readers, or who cannot load images, get the same information.
- Informative images need an
altattribute that describes what the image shows and why it is there, in one short sentence. Do not start with "Image of" or "Photo of"; screen readers already announce that it is an image. - Decorative images that add no information, such as background textures or illustrations next to a heading that says the same thing, take an empty
alt=""so that screen readers skip them. - Images of text should be avoided. Use real text styled with CSS instead, as required by Success Criterion 1.4.5 Images of Text. Text in images cannot be resized, translated or read by every assistive technology.
- Bilingual sites must provide the alternative text in the language of the page, so the Arabic page describes the image in Arabic.
Describe the purpose of the image
A good alternative text describes what matters about the image in its context, not every visual detail.
<img src="5g-conference.jpg"
alt="Speakers on stage at the UAE 5G Conference">
<img src="5g-conference.jpg" alt="image">
<img src="5g-conference.jpg" alt="IMG_2041.jpg">
<img src="5g-conference.jpg">
Image quality
Resolution, sharpness and size determine the quality of an image. Always use the correct dimensions, and resize images proportionally according to their aspect ratio.
Do not stretch or enlarge images
Do not use incorrect dimensions, or increase the dimensions of an image in code, as this reduces its sharpness.

Using image source sets
The srcset attribute lists the image files a browser can choose from in different situations. The browser picks the most suitable version based on the screen size and resolution; this is known as responsive images.
Larger images have larger file sizes, and there is no point in loading, for example, a 2,400-pixel-wide, 20 MB image on a mobile phone. srcset saves bandwidth and speeds up page loading, and load speed is a ranking factor for search engines. Always set width and height so that the browser can reserve the space and the layout does not shift while the image loads.
<img
srcset="gov-image-480w.jpg 480w, gov-image-800w.jpg 800w"
sizes="(max-width: 600px) 480px, 800px"
src="gov-image-800w.jpg"
width="800" height="533"
alt="Speakers on stage at the UAE 5G Conference">
Using the picture element
The <picture> element also lets the browser display different images based on the device, but it can show entirely different images (for example a different crop), not just different sizes, and it can offer modern file formats with a fallback.
In the example below, setup-001_primary.jpg or setup-001_primary-2x.jpg is displayed on screens wider than 768 px. The image in the <img> tag is the default and should be the smallest file.
<picture>
<source media="(min-width: 768px)" srcset="setup-001_primary.jpg, setup-001_primary-2x.jpg 2x">
<source media="(min-width: 465px)" srcset="setup-001_tablet.jpg">
<img src="setup-001_mobile.jpg" width="465" height="310" alt="The default image">
</picture>
The need for a CDN
A content delivery network (CDN) is a geographically distributed network of proxy servers and data centres. It is strongly recommended to use a CDN to distribute assets such as images and video. A CDN brings:
- speed
- efficiency
- the ability to serve images optimised for each device
Image formats
Modern image formats give much smaller files at the same visual quality:
- WebP is supported by all modern browsers and is typically 25–35% smaller than an equivalent JPEG.
- AVIF usually compresses even further than WebP, and is supported by all current major browsers.
- SVG is the right choice for logos, icons and simple illustrations, as it stays sharp at every size.
Serve WebP or AVIF through the <picture> element or your CDN, and keep the original JPEG on the server as a fallback for older browsers. Add loading="lazy" to images below the fold so that they load only when the user scrolls to them.
<picture>
<source type="image/avif" srcset="service-hero.avif">
<source type="image/webp" srcset="service-hero.webp">
<img src="service-hero.jpg" width="1200" height="800"
loading="lazy" alt="A family using a government service on a tablet">
</picture>
Using computer-generated imagery
If taking photographs or finding relevant stock images is not feasible, computer-generated imagery (CGI) is the recommended approach. These images are created with specialist software, which gives you control over the entire process, from lighting to layout.
However, the use of CGI must be kept to a minimum and used only when required.
The responsible use of AI-generated imagery
Prompt-based artificial intelligence (AI) has made it easy to generate images, and these images must be used carefully. AI can be used to create objects, to edit them further, or to produce part of the final image used on the website.
- Do not generate images that go against the values, principles, beliefs and culture of the UAE.
- Do not generate or use images that are unrealistic.
- Do not generate images that convey irrelevant information.
- Do not generate images of real, identifiable people, or images that could be mistaken for a real event.
- Check that the terms of the AI service allow the intended use, and review every image before publishing.



Application of CGI images
It is recommended to use CGI only in hero images. If CGI is required for other images, such as cards and tiles, a justification should be provided for why natural photography was not used.

Using illustrations
Illustrations are used to tell a story, convey a mood, or use a metaphor to make a complex idea clear and relevant. They are one of many ways to represent values that users can engage and connect with. Think of illustrations in the same way as photography and video: they are visual storytelling tools.
Illustrations must be part of a theme or pattern. Select a particular illustration style, and use it consistently across all communication.







Illustration principles
Less is more
Create simple styles that are easy to recognise.
Geometric
Build illustrations from basic geometric shapes.
Solid colours
Do not use gradients, contouring or soft transitions.
Hierarchy
Place the subject in the foreground and supporting objects in the background.
High contrast
Strong contrast makes the important elements stand out.
Where to use illustrations
You may use illustrations in the following components and blocks:
- Hero sections
- The primary image of blog content
- Spot illustrations in content blocks
- Cards
- Error pages
- Empty states
- Illustrations are a strong storytelling method; use them only where required.
- Mixing illustrations and photography should follow an 80–20 rule. If the website's theme is illustration, photography should make up 20% of the imagery and illustrations 80%. Reverse the rule if the primary theme is photography.
- Use an icon instead of an illustration when the object is less than 100 px wide.