Accessibility and typography

Tanya Fokina, Tbilisi A11y & UX Day.

Accessibility and typography

Tbilisi a11y and UX day Tanya Fokina
Presentation QR
Presentation

Who is talking?

What is typography?

Typography is the way how the texts are arranged and visually appealing 💅

Benefits of typography

Accessibility in typography is about visual clarity.

Legibility

What is legibility?

How it is easy to see, distinguish, and recognize the characters and words.

Typefaces and fonts

Typeface is IBM Plex Sans. Fonts: Thin one with size 75 pixels, extra light one with size 38 pixels, and light, semibold, italic bold with size 50 pixels.

Typefaces

Usually, sans-serif typefaces are more legible than serif, display, or monospaced ones.

Basic legible typefaces

Arial, Calibri, Roboto, Tahoma, Poppins, Verdana.

Special legible typefaces

Atkinson Hyperlegible, Lexend.

Typefaces on practice

Font size

The minimum font size for desktops is 16 pixels; for mobiles, the good size is 12 pixels and bigger.

Font size on practice

Users settings: Text customizing

Text must be resizable and adjustable without requiring horizontal scrolling in a full-screen window.

Fluid typography

Responsive typography technique where the text scales automatically with the screen size.

For text use %, em, or rem (flexible units), such as instead of absolute font sizes like pixels.

Default font size: 16 pixels

Custom font size: 36 pixels 🤔

Let's try again

Now it is 36 pixels 🎉

Users settings: Page zoom

Allow users to increase the zoom level of a page's content from 100% to 200%–400% without loss of content or functionality.

Clipped text with 200%

Horizontal scroll with 200%

Overlapping text with 200%

Default text zoom (100%)

Increased text zoom (200%)

Wow, no issues with 400%

Font weight

Letters A with different font sizes: thin (100), extraLight (200), light (300), regular
				(400), semiBold (600), bold (700).

Regular fonts are good for most text. Bold is suitable for headings and emphasis. Thin and light fonts work best for decorative text.

Font weight on practice

X-height

It's easier to read texts with larger uppercase letters in proportion to lowercase letters.

X-height on practice

Aperture

Open and closed aperture

Use typefaces with more open aperture.

Aperture on practice (latin)

Letter spacing (tracking)

Bigger letter spacing helps with the legibility of all-caps text or thin fonts.

Smaller letter spacing is legit only for large fonts.

Letter spacing on practice

Custom letter spacing

Letterforms

Visual shape or design of a letter.

Latin imposter letters

Typefaces Palatino Linotype and Lexend. English alphabet: I, l, 1, B, 8, C, G, 0, e, a, c, o.

Cyrillic imposter letters

Typefaces Palatino Linotype and Lexend. Cyrillic alphabet: З, 3, В, С, О, 0, щ, ц, г, т, ь, ъ, с, о, б, 6.

Mirroring characters

Typefaces Times New Roman and Lato. English alphabet: nu, 96, rn, n, db, i!, 6g.

Use typefaces where similar letters are easy to tell apart.

Letterforms on practice

Line height (leading)

On a desktop, space between lines should be 1.5 to 2 times the text size. On mobile phones, make it 1.3 to 1.45 times.

Line height on practice

Line width (length)

The optimal number of words per line is between 45 and 80 with spaces. It depends on language and screen size.

Long line width: 207 ch

Optimal line width: 100 ch

Contrast

Difference in brightness between two colors: For text and its background.

Browser's contrast checker

Contrast ratio anatomy

Big text should be 3 (3:1) to 7 (7:1) times lighter than its background. Small text needs to be at least 4.5 (4.5:1) times lighter than its background.

Contrast ratio

Low 1:79:1; minimum: 3:76:1; high 10:53:1

High contrast ratio: Dark

High contrast ratio: Light

Too high contrast for somebody

Comfortable contrast ratio

Dyslexia

This is a learning disability that affects reading skills. Unlike other learning disabilities, intelligence isn't affected.

Dyslexia simulation: Wavy

Dyslexia Improvements

Dyslexia simulation: Swirl

Dyslexia Improvements

Dyslexia simulation: River

Dyslexia Improvements

About 10% or 750 million of the world's adults are dyslexic.

What affected dyslexia?

Dyslexia can appear differently and be more or less common depending on language rules and writing system.

Language rules

Easier languages for dyslexic people: German and Norwegian. Harder languages: Russian and English.

Writing systems

Alphabetic writing systems: French, Korean Hangul. Logographic ones: Chinese, Japanese Kanji.

Dyslexia-friendly typefaces

Arial, Calibri, Comic Sans, Josefin Sans, Open Sans, OpenDyslexic.

Legibility disaster

This is better

How to measure legibility?

User testing: Check the speed when users read from the design and the same text without it.

Automation tools: Find the problems with text contrast.

Tools: Typography

Tools: Contrast ratio

Tools for Figma

Readability

What is readability?

How easy text is to read.

Readability components

How to measure readability?

Scored automatically via readability calculators based on readability formulas.

Summary

Long story short

Links

Doka Guide website QR
Doka Guide
Doka Guide GitHub QR
Doka Guide GitHub
Personal blog QR
Blog on accessible development

Checklists and materials

Legibility checklist [1] ✅

Legibility checklist [2] ✅

Readability checklist ✅

Interesting materials