Guidelines

Main site

Typography Colour system Iconography Imagery Content Layout & spacing Actions and input Mobile applications Accessibility
Home Design guidelines Typography

Typography

Typography guidelines ensure that legibility is maximised through consistent application of typeface, size, weight, etc. They help maintain a clean flow across the website by assigning specific functional roles to the different typography styles listed here.

The use of fonts

an image describing Personality

Personality

an image describing Universality

Universality

an image describing Minimalism

Minimalism

an image describing Balance

Balance

The font usage is defined by the principles of personality, universality, minimalism, and balance. These are the guiding principles that define the usage of fonts. Each font conveys the appropriate sentiment to assist users through each stage of their journey.

Typeface

Keeping personality, performance, and legibility in mind, the design system uses typefaces served by Google Fonts. The fonts are delivered as compressed WOFF2 files, split by character set (for example Latin, Latin Extended and Arabic), so each browser only downloads the subsets and weights that a page actually uses.

Using fonts in English

Roboto
7 sizes, 5 weights
The primary base font to be used for all website content in English is Roboto.
Inter
7 sizes, 4 weights
The secondary base, applicable to headings and titles in English, is Inter.

Using fonts in Arabic

نوتو كوفي عربي
7 sizes, 6 weights
The primary base font to be used for all website content in Arabic is Noto Kufi Arabic.
الكسندريا
7 sizes, 4 weights
The secondary base, applicable to headings and titles in Arabic, is Alexandria.

Typeface fallback

If the primary typefaces fail to load, the browser must fall back to operating system typefaces. To maintain consistency, always declare fallback fonts. The design system declares the English body font as follows:

body {
	font-family: "Roboto", ui-sans-serif, system-ui,
				-apple-system, BlinkMacSystemFont,
				"Segoe UI", sans-serif;
}

Similarly, apply the following declaration where RTL is the base direction:

body[dir="rtl"] {
	font-family: "Noto Kufi Arabic", ui-sans-serif, sans-serif;
}

Font size

When it comes to communication, type and text provide essential cues that should never be overlooked. As one of the core elements in presenting information, typography has an immense impact on how messages are interpreted.

The type scale is a combination of 12 sizes that are supported by the Design System.

Headings

Headings follow a scale based on a 1.200 factor (multiplying a font size by 1.2 to find the next step up). This is known as the Minor Third, starting from the basic unit of 16 px (1rem, 100%). Values are rounded to whole pixels.

Heading Class Property
H1 Display text-display font-size: 3.625rem; // 58px
line-height: 1.2;
H1 text-h1 font-size: 3rem; // 48px
line-height: 1.2;
H2 text-h2 font-size: 2.5rem; // 40px
line-height: 1.2;
H3 text-h3 font-size: 2.125rem; // 34px
line-height: 1.25;
H4 text-h4 font-size: 1.75rem; // 28px
line-height: 1.3;
H5 text-h5 font-size: 1.5rem; // 24px
line-height: 1.3;
H6 text-h6 font-size: 1.25rem; // 20px
line-height: 1.3;
H1 DISPLAY
Visit the UAE's unified digital platform
The H1 Display font size must be used with caution, and must always be used with the extra light font weight. It is recommended to only use this size within banner sliders or elements that have a large height covering at least 60% of the viewport.
H1 Heading
Visit the UAE's unified digital platform
H2 Heading
Visit the UAE's unified digital platform
H3 Heading
Visit the UAE's unified digital platform
H4 Heading
Visit the UAE's unified digital platform
H5 Heading
Visit the UAE's unified digital platform
H6 Heading
Visit the UAE's unified digital platform

Content

The typography system has 7 text sizes for maximum readability and accessibility. We recommend a minimum of 16px, unless the context necessitates less. Refer to responsive typography for more details.

Content Class Property
3x Large text-3xl font-size: 1.875rem; // 30px
line-height: 1.35;
2x Large text-2xl font-size: 1.5rem; // 24px
line-height: 1.35;
Extra Large text-xl font-size: 1.25rem; // 20px
line-height: 1.35;
Large text-lg font-size: 1.125rem; // 18px
line-height: 1.5;
Base text-base font-size: 1rem; // 16px
line-height: 1.5;
Small text-sm font-size: 0.875rem; // 14px
line-height: 1.4;
Extra Small text-xs font-size: 0.75rem; // 12px
line-height: 1.4;

An example block of how content should look;

Sustainability as a work culture
Sustainability is a part of our ethics and corporate culture. It is why we work tirelessly to provide work environment that supports growth and happiness.

In line with the Telecommunications Law of the UAE, TDRA's objectives now include the execution of its telecommunication services across the country, which in turn, helps develop the quality and variety of the provided services and the adherence to license terms.

Quality education
TDRA Virtual Academy

TDRA Virtual Academy offers courses for anyone seeking to develop their knowledge and skills in the growing field of ICT and innovation. Thus, it could be of as much benefit to a student as it could be to a fresh graduate, a budding entrepreneur, or the head of an organization. Courses are designed for learners of all skill levels and from all backgrounds.

TDRA Virtual Camp

TDRA Virtual Camp is one of the largest, most dynamic initiatives powered by CoDI. The camp aims at introducing the youth to important future technologies. The camp, which targets school children aged 6-17 years, includes a variety of programs, particularly in the fields of ICT.

The camp focuses on programming, which is included in the three main tracks: digital innovation and entrepreneurship, AI and data science, and Robotics and IoT, in order to allow all students to learn about the latest techniques and methods of programming, to support the UAE progress and prepare the new generation for future jobs.

Responsive typography

The typography system is built on the concept of using a responsive typography size, which improves readability and adapts the font size to the screen size on smaller or large devices.

Always aim to create accessibility towards reading conditions. A visitor viewing the website on a mobile device is holding a device in their hand and is most likely reading or interacting with the digital asset, away from their workspace.

Similarly, test the digital asset on a standard screen, which is typically below 1536 px in size, and also on a large screen, where the screen size can range from 1536 px and above, all the way to 2500 px. Refer to the grid system for more on this.

On smaller screens, headings are resized dynamically based on the viewport size. The easiest way to do this is to follow the One-step decrease rule. Use the following scheme to apply font changes for headings, using the example of the <h1> tag:

When screen size < 1024
text-h3
When screen size < 1280
text-h2
Default
text-h1

You can make changes to the font size as long as it doesn't go below 1 rem as a base font size, unless necessary. Hence, it is important to consider increasing the size of your base font when designing and developing websites for larger screens.

To highlight this, we used the same code used to generate the content in the font size example above.

<h1 class="text-h3 lg:text-h2 xl:text-h1 leading-tight">
Visit the UAE's unified digital platform
</h1>
<!-- the use of the leading-tight (line height) 
for headings is open based on your design needs -->

Font weight

A font weight allows you to add emphasis and differentiate specific pieces of text. On a general level, and for optimal performance, the digital asset has to follow only three (3) weights as a pattern.

However, creative design and certain elements may need to introduce two (2) more weights. It is therefore recommended to limit the total font weights in a given web page to five (5). It is also recommended not to load a font weight into a website when it is not required.

Use heavy weights (bold and extra bold) for headings and titles, as these weights grab attention. Use neutral weights (regular and medium) for body and long texts to help users read easily.

Headings

Heading tags are pre-configured with a default weight: <h1> to <h3> use font-extrabold, <h4> and <h5> use font-bold, and <h6> uses font-semibold. It is advised not to use different font weights in headings except based on the design pattern. It is also recommended to use font-extralight for the H1 Display heading.

Class Property
font-extralight font-weight: 200
font-semibold font-weight: 600
font-bold font-weight: 700
font-extrabold font-weight: 800

Content

Use the regular and neutral font weights as the default for your website content. Hence, font-normal, which relates to the weight of 400, is considered regular for both body typefaces (Roboto and Noto Kufi Arabic).

To provide emphasis on certain parts of the content, you may need to use bold, which is also considered acceptable. On Arabic content, you may also choose to apply font-semibold to text that uses a larger font size. Roboto is not loaded in a 600 weight, so use font-medium or font-bold instead on English content.

Class Property
font-light font-weight: 300
font-normal font-weight: 400
font-medium font-weight: 500
font-semibold font-weight: 600
font-bold font-weight: 700

Text spacing

Line height should be an important factor to consider while designing content. The font family and size you use will ideally determine the line height.

Body content spacing

For the design system, the body font is Roboto for English with a base size of 16 px. This means using a minimum value of 1.5 for line-height for the main paragraph content. This will help people experiencing low vision conditions, as well as people with cognitive concerns such as Dyslexia.

Success Criterion 1.4.12 Text Spacing requires that no content or functionality is lost when users override text spacing to a line height of at least 1.5 times the font size, spacing after paragraphs of at least 2 times the font size, letter spacing of at least 0.12 times the font size, and word spacing of at least 0.16 times the font size. Avoid fixed heights on text containers so that text can grow without being clipped or overlapping.

The Roboto and Noto Kufi Arabic typefaces work well with their default letter and word spacing, so do not add letter spacing to body text, especially in Arabic, where letters connect. You must, however, make sure that line height and margin after a paragraph are followed. The design system pre-configures line height for content text, but expects paragraph margin to be added manually.

You can add or reduce the line height by a maximum of 20% to stay in the digestible range only if required for aesthetic purposes.

An accurate representation of line height and margin after a paragraph to be used within the content on your website is as follows:

Quality education
TDRA Virtual Academy

TDRA Virtual Academy offers courses for anyone seeking to develop their knowledge and skills in the growing field of ICT and innovation. Thus, it could be of as much benefit to a student as it could be to a fresh graduate, a budding entrepreneur, or the head of an organization. Courses are designed for learners of all skill levels and from all backgrounds.

TDRA Virtual Camp

TDRA Virtual Camp is one of the largest, most dynamic initiatives powered by CoDI. The camp aims at introducing the youth to important future technologies. The camp, which targets school children aged 6-17 years, includes a variety of programs, particularly in the fields of ICT.

The camp focuses on programming, which is included in the three main tracks: digital innovation and entrepreneurship, AI and data science, and Robotics and IoT, in order to allow all students to learn about the latest techniques and methods of programming, to support the UAE progress and prepare the new generation for future jobs.

Heading content spacing

Headlines or Headings (those that are identified by the HTML <h1> ... <h6> tags) use a different typeface and line height for these are determined by the designed element.

The <h1> to <h4> follows a font size that is much larger in size and bold. For this purpose, you may use a line height that is less than the 1.5x rule. Using a tighter line height is acceptable.

In fact, use a line height in a reducing manner. The larger the font size, the smaller the line height value you may apply, but never less than 1 (equal to the font size).

If you use <h1>, which has a font size of 48 px, the design system sets the line height to 1.2, while <h3>, which has a font size of 34 px, uses a line height of 1.25. You may tighten these further, but not below 1.

Block spacing

Block spacing refers to the spacing between text blocks on your website. Leaving enough white space between text blocks, through adjusting the margins and padding, helps provide a better aesthetic look and, of course, more digestible content.

It is also important to manage your margins and padding responsively and reducing them on different breakpoints when required. This provides more flexibility to the layout across your website's sections. You can read about this in detail in Approach on Responsive Web Design.

Line length

Readability is an important factor to consider when writing content. While line lengths are subjective and differ depending on the context, we recommend keeping line lengths between 60 and 100 characters with acceptable spacing. Setting this precedent will help writers outline the content in a simple manner that will make the end-user experience more positive.

Readers may also NOT have control over the layout width; meaning that a line length cannot always be specified. So it’s good practice to design for an ideal line length, and use responsive design techniques to anticipate different contexts.

Hence, if your body font size is BASE (16 px) and you would like to add content as a set of 4 paragraphs, your ideal content container width should be 745 px if your website container is 1240 px - essentially, your content must be within 60% of the container width. This will place each line in the range of 60 to 100 characters.

An image describing the optimal typography line length

Hierarchy

This section is very important, and this is where the content style comes together with typography. Using size, weight, colour, and alignment, typographic hierarchy establishes a priority order that allows the user to navigate seamlessly through content.

Sustainability as a work culture
Start your block of content with a heading when possible.

Sustainability is a part of our ethics and corporate culture as we work tirelessly to ensure our work environment supports growth and happiness.

You may choose to have support text, such as an excerpt or a strong supporting bit of content after the heading.

In line with the UAEʼs Telecommunication Law and its executive regulations, the objectives of the TDRA include ensuring adequate provision of telecommunication services throughout the country, developing service quality and variety and adhering to license terms whilst making sure service quality is maintained.

You may continue adding content in paragraphs for your content block.
Quality education

Providing quality education is part of our sustainability goals and initiatives. We aim to educate individuals, corporates and children on the best practices and ethical use of digital media and communication.

Add another layer of heading to show further division of content within the same content block and continue adding supporting content with it.
TDRA Virtual Academy

TDRA Virtual Academy offers courses for anyone seeking to develop their knowledge and skills in the growing field of ICT and innovation. Thus, it could be of as much benefit to a student as it could be to a fresh graduate, a budding entrepreneur or the head of an organization. Courses are designed for learners of all skill levels and from all backgrounds.

TDRA Virtual Camp

TDRA Virtual Camp is one of the largest, most dynamic initiatives powered by CoDI. The camp aims at introducing the youth to important future technologies. The camp, which targets school children aged 6-17 years, includes a variety of programs, particularly in the fields of ICT.

The camp focuses on programming, which is included in the three main tracks: digital innovation and entrepreneurship, AI and data science, and Robotics and IoT, in order to allow all students to learn about the latest techniques and methods of programming, to support the UAE progress and prepare the new generation for future jobs.

Digital Government KidX platform

KidX is an electronic platform launched by the Ministry of Community Development and TDRA. The platform provides an interactive digital environment and uses games and virtual reality technologies to raise children's awareness of the UAE government, its functions and services.

It encourages them to express their views on the services, as well as deal with smart government and smart cities. The platform engages the children in an adventure format, while urging them to be positive and supportive members of the community's happiness.

The platform's concept also takes into consideration the rights of the child, especially the right to access all information that brings knowledge to them.

Add another layer of heading to show further division of content within the same content block and continue adding supporting content with it.

Basic principles of typography

The following guides are examples of what are the best practices in terms of following the typography guideline. These examples help to convey the message that is described as an overall set of foundation principles in the guide itself.

Create hierarchy

A good structure helps present important information clearly just as it helps users find relevant information easily. Always ensure that your content block has a hierarchy defined and is consistent throughout your website.

Objectives

Strategic objectives 2023

Develop the organization of the health sector in a comprehensive and integrated manner to enhance its competitiveness, flexibility, effectiveness and alignment with the directions and priorities of the country.

Do not pair high-contrast text sizes

Keep the pairing sizes logical and avoid using a very large hero display text next to a very small body text.

Our mission

Develop the organization of the health sector in a comprehensive and integrated manner to enhance its competitiveness, flexibility, effectiveness and alignment with the directions and priorities of the country.

Do not style content in such a wide typography size gap

Left align your content

Your content in English must be left aligned, except for headlines on hero sections, which may be centre aligned on certain blocks of content. Similarly, make sure that content is right aligned on your Arabic website.

Our mission

Develop the organization of the health sector in a comprehensive and integrated manner to enhance its competitiveness, flexibility, effectiveness and alignment with the directions and priorities of the country.

Do not justify your text

Never justify texts in both English and Arabic as it slows down the reading speed for users.

Our mission

Develop the organization of the health sector in a comprehensive and integrated manner to enhance its competitiveness, flexibility, effectiveness and alignment with the directions and priorities of the country.

Do not use indentation

Paragraphs indented with word spaces or tabs are hard to keep consistent. Do not indent paragraphs, however you may add indentation to a bullet or numbered list.

Always ensure that paragraphs and titles are vertically aligned and use spacing to separate paragraphs.

Our mission

Develop the organization of the health sector in a comprehensive and integrated manner to enhance its competitiveness, flexibility, effectiveness and alignment with the directions and priorities of the country.

Do not use underline for text

Underline text is reserved for hyperlinks and text buttons. When added to content that is not a hyperlink, it will certainly confuse the user and lead to a bad user experience.

Our mission

Develop the organization of the health sector in a comprehensive and integrated manner to enhance its competitiveness, flexibility, effectiveness and alignment with the directions and priorities of the country.