From 73b323a4c62a369c774d8c1a6c82a1ee0f2d223d Mon Sep 17 00:00:00 2001
From: Sam Whited
+ Clarify accessibility considerations section and be consistent about use
+ of the term "styling directives".
+
- It is RECOMMENDED that formatting characters be displayed and formatted in - the same manner as the text they apply to. + It is RECOMMENDED that styling directives be displayed and formatted in the + same manner as the text they apply to. For example, the string "*emphasis*" would be rendered as "*emphasis*".
- When displaying text with formatting, developers should take care to ensure - sufficient contrast exists between styled and unstyled text so that users - with vision deficiencies are able to distinguish between the two. + When displaying styling directives, developers should ensure sufficient + contrast so that visually impaired users are able to distinguish the styling + directives from the background color. + Care should also be taken to ensure that formatting designed to + differentiate styling directives from surrounding text does not make the + text more difficult to read for visually impaired users.
- Formatted text may also be rendered poorly by screen readers. + Styled text may also be rendered poorly by screen readers. When applying formatting it may be desirable to include directives to - exclude formatting characters from being read. + exclude styling directives from being read.