Accessibility features in CSS2
Written by jon on 11:29 AMThe following is a list of CSS2 features that affect accessibility (and the sections where defined in the CSS2 specification). The sections following the list elaborate on how these features affect accessibility.
Note. Property names are indicated by back quotes, the convention used by the CSS1 and CSS2 specifications.
- Spacing, alignment, and positioning
- 'text-indent' (16.1); 'text-align' (16.2); 'word-spacing' and 'letter-spacing' (16.4); 'font-stretch', (15.2.3); 'margin', 'margin-top', 'margin-right', 'margin-bottom', and 'margin-left' (8.3); 'float' (9.5.1), 'position' (9.3.1); 'top', 'right', 'bottom', and 'left' (9.3.2); 'empty-cells' (17.6.1)
- User override of styles
- !important (6.4.1); the 'inherit' value (6.2.1); system fonts (15.2.5); system colors (18.2); list types (12.6.2); dynamic outlines ('outline', 'outline-width', 'outline-style', and 'outline-color') (18.4)
- Generated content
- :before/:after pseudo-elements (5.12.3, 12.1); 'content' (12.2); 'cue', 'cue-before', and 'cue-after' (19.5)
- Aural style sheets
- 'volume' (19.2); 'speak' (19.3); 'pause', 'pause-before', and 'pause-after' (19.4); 'cue', 'cue-before', 'cue-after' (19.5); 'play-during' (19.6); 'azimuth', 'elevation' (19.7); 'speech-rate', 'voice-family', 'pitch', 'pitch-range', 'stress', and 'richness' (19.8); 'speak-punctuation' and 'speak-numeral' (19.9)
- Access to alternative content
- attribute selectors (5.8); the attr() function (12.2)
- WebFonts
- See Chapter 15 of the CSS2 specification.
0 comments: Responses to “ Accessibility features in CSS2 ”