mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 10:12:19 -05:00
Merge branch 'feature/xep-0393'
This commit is contained in:
commit
caa2ad41ef
28
xep-0393.xml
28
xep-0393.xml
@ -26,6 +26,17 @@
|
|||||||
<supersededby/>
|
<supersededby/>
|
||||||
<shortname>styling</shortname>
|
<shortname>styling</shortname>
|
||||||
&sam;
|
&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>
|
<revision>
|
||||||
<version>0.2.1</version>
|
<version>0.2.1</version>
|
||||||
<date>2020-01-02</date>
|
<date>2020-01-02</date>
|
||||||
@ -440,22 +451,25 @@
|
|||||||
inside preformatted blocks without modification.
|
inside preformatted blocks without modification.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
It is RECOMMENDED that formatting characters be displayed and formatted in
|
It is RECOMMENDED that styling directives be displayed and formatted in the
|
||||||
the same manner as the text they apply to.
|
same manner as the text they apply to.
|
||||||
For example, the string "*emphasis*" would be rendered as
|
For example, the string "*emphasis*" would be rendered as
|
||||||
"<strong>*emphasis*</strong>".
|
"<strong>*emphasis*</strong>".
|
||||||
</p>
|
</p>
|
||||||
</section1>
|
</section1>
|
||||||
<section1 topic='Accessibility Considerations' anchor='access'>
|
<section1 topic='Accessibility Considerations' anchor='access'>
|
||||||
<p>
|
<p>
|
||||||
When displaying text with formatting, developers should take care to ensure
|
When displaying styling directives, developers should ensure sufficient
|
||||||
sufficient contrast exists between styled and unstyled text so that users
|
contrast so that visually impaired users are able to distinguish the styling
|
||||||
with vision deficiencies are able to distinguish between the two.
|
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>
|
||||||
<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
|
When applying formatting it may be desirable to include directives to
|
||||||
exclude formatting characters from being read.
|
exclude styling directives from being read.
|
||||||
</p>
|
</p>
|
||||||
</section1>
|
</section1>
|
||||||
<section1 topic='Security Considerations' anchor='security'>
|
<section1 topic='Security Considerations' anchor='security'>
|
||||||
|
Loading…
Reference in New Issue
Block a user