mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
XEP-0393: editorial changes from LC feedback
This commit is contained in:
parent
b2e20eeefd
commit
73b323a4c6
28
xep-0393.xml
28
xep-0393.xml
@ -25,6 +25,17 @@
|
||||
<supersededby/>
|
||||
<shortname>styling</shortname>
|
||||
&sam;
|
||||
<revision>
|
||||
<version>0.2.2</version>
|
||||
<date>2020-05-20</date>
|
||||
<initials>ssw</initials>
|
||||
<remark>
|
||||
<p>
|
||||
Clarify accessibility considerations section and be consistent about use
|
||||
of the term "styling directives".
|
||||
</p>
|
||||
</remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>0.2.1</version>
|
||||
<date>2020-01-02</date>
|
||||
@ -439,22 +450,25 @@
|
||||
inside preformatted blocks without modification.
|
||||
</p>
|
||||
<p>
|
||||
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
|
||||
"<strong>*emphasis*</strong>".
|
||||
</p>
|
||||
</section1>
|
||||
<section1 topic='Accessibility Considerations' anchor='access'>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
</section1>
|
||||
<section1 topic='Security Considerations' anchor='security'>
|
||||
|
Loading…
Reference in New Issue
Block a user