GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing bbc.github.io — GEL Technical Guide: Typography TypographyInclusive content must be readable, and for it to be readable it must first be legible
IntroductionPerformant typography starts with a superior typeface. The Reith typeface manifests the BBC's typographic identity, and is designed to "improve the experience of reading for everyone, regardless of ability, context or canvas"[1]. The typeface conundrum has been solved, leaving just typesetting best practices to be observed. Font sizeThe most fundamental provision for accessible type is font size. The body
GEL type sizes for body text range between 15 and and 18 pixels, depending on the screen dimensions. Although these are prescribed in terms of pixels, they should always be set in relative units such as The reason for this is that a not insignificant number of users (about the same number as there are Microsoft Edge users[2]) adjust the default font size at a browser or operating system level. Text set in Accordingly, the root
Use font sizes in the scale smaller than 'Body Copy' sparingly, and only for supplementary, tangential information. A live demonstration of the type scale is available for comparison. Pinch zoomIn addition, be sure not to suppress zooming by touch on handheld devices. This prohibits users from being able to increase font size, and creates a number of unwanted restrictions[3]. Your viewport meta tag should omit
AlignmentThere are a number of typographic techniques that have an impact on readers' ability to scan text content. Many of these, including the mandate not to justify text, are covered under WCAG2.1 1.4.8 Visual Presentation[4]. Despite this success criterion belonging to the AAA level, you should adhere closely to the advice. Visually dyslexic readers in particular will benefit. Justified text (text aligned along both margins) is achieved by varying the spacing between words, disrupting the regularity of the layout and increasing cognitive strain. Instead, align text along the left hand side. Since this is the default behavior in most browsers the following should not be necessary.
MeasureA measure (line length) that is too long makes it difficult for readers to scan back and find the next line in order to continue. WCAG2.1 1.4.8 Visual Presentation[4:1] recommends a measure of no more than 80 characters, but between 60 and 70 is better still. The measure must be:
A measure set in pixels is not relative to
Leading and white spaceWCAG2.1 1.4.8 Visual Presentation[4:2] recommends a leading (line height) for body text of no less than 1.5. However, this should be treated as a baseline since—as recommended by The Elements Of Typographic Style For The Web[5]—the leading should be chosen to suit the metrics of the font. A comfortable leading for body copy set in Reith Serif is It's most important that the
The most efficient way to manage white space between successive blocks of text while maintaining a good vertical rhythm[6] is to make each space a multiple of the line height. Typically, paragraphs are spaced using one whole line. In the following example, successive paragraphs receive a margin of
Cognition depends heavily on a sense of belonging, so ensure that related elements are separated with more white space than those that are unrelated. For example, the white space between a preceding section and a heading should be greater than the white space between the heading and the first paragraph of its own section.
Larger text, such as All capsText set in all caps ( Acronyms and initialisms must appear in all-caps. Improve their legibility by increasing their
Do not increase the LinksIt is important that links are clearly differentiated from surrounding text. As mandated by WCAG2.1 1.4.1 Use of color[7] this means not differentiating links by colour alone. Not all people can (accurately) perceive colour differences, and not all devices and screens accurately convey colour. The BBC has traditionally used heavier font-weighting to visually differentiate linked text from surrounding body text, adding an underline that appears on hover or focus. You can follow this established convention by incorporating the underline indicator in your links depending on the hover / focus state, using either
Avoid using underlined text on general text to prevent it being mistaken for a link. Highlight As set out under Buttons and CTAs, call-to-action links and buttons should be differentiated visually to reflect their differing behaviour. ContrastIt's imperative there is sufficient contrast between foreground text and backgrounds, in line with WCAG2.1 1.4.3 Contrast[8]. There are a number of tools for calculating the contrast ratio, including the Color Contrast Analyzer software developed and maintained by The Paciello Group. Avoid placing text over complex images such as photographs. Even where the contrast is sufficient, the intersection of characters with complex background shapes and lines impedes legibility. Unicode and emojiThe support for unicode differs wildly between platforms, with handheld devices tending to support smaller subsets of unicode points. Where a point is not supported, a square fallback symbol (with a confusing resemblance to a checkbox in some contexts) appears instead. In general, avoid unicode symbols in favor of SVG-based icons. These are documented under Iconography. Icon fonts in particular should be avoided since they tend to map their icons to esoteric / undesignated unicode points. Where users, such as those with dyslexia, override the author's font settings with a user stylesheet, the icons give way to fallback 'missing glyph' symbols. Note that screen readers will ignore some unicode points, and interpret others in unexpected ways. For example, the × symbol frequently used for close buttons can be announced as "times". If you are to use this relatively well supported unicode point, silence the unicode point in screen reader output with
Emoji are rendered via unicode as well, but are more likely to be perceived as images. Some CMSs and social media platforms even replace the code point with their own image. Where the character is used, it's important to present it as an image, with an accompanying text alternative[9].
This exposes the character as an image in the accessibility tree[10], enabling screen readers to identify it as such. Related researchThis topic does not yet have any related research available. Further reading, elsewhere on the Web
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |