-
Notifications
You must be signed in to change notification settings - Fork 266
/
Copy pathvisual-audio-contrast-text-images.xml
176 lines (176 loc) · 9.07 KB
/
visual-audio-contrast-text-images.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE div2
SYSTEM "../xmlspec.dtd">
<div2 id="visual-audio-contrast-text-images" role="extsrc">
<head>1.4.9</head>
<div3 role="intent">
<head>Intent of this Success Criterion</head>
<p>The intent of this Success Criterion is to enable people who require a particular visual presentation of text to be able to adjust the text presentation as required. This includes people who require the text in a particular font size, foreground and background color, font family, line spacing or alignment.</p>
<p>This means implementing the text in a manner that allows its presentation to be changed or providing a mechanism by which users can select an alternate presentation. Using images of text is an example of an implementation that does not allow users to alter the presentation of the text within it.</p>
<p>In some situations, a particular visual presentation of the text is essential to the information being conveyed. This means that information would be lost without that particular visual presentation. In this case implementing the text in a manner that allows its presentation to be changed is not required. This includes text that demonstrates a particular visual aspect of the text, such as a particular font family, or text that conveys an identity, such as text within a company logo.</p>
<p>Text that is decorative does not require implementing the text in a manner that allows its presentation to be changed.</p>
<p>The definition of image of text contains the note: <quote>Note: This does not include text that is part of a picture that contains significant other visual content.</quote> Examples of such pictures include graphs, screenshots, and diagrams which visually convey important information through more than just text.</p>
<div4 role="benefits">
<head>Benefits of this Success Criterion</head>
<ulist>
<item>
<p>People with low vision (who may have trouble reading the text with the authored font family, size and/or color).</p>
</item>
<item>
<p>People with visual tracking problems (who may have trouble reading the text with the authored line spacing and/or alignment).</p>
</item>
<item>
<p>People with cognitive disabilities that affect reading.</p>
</item>
</ulist>
</div4>
</div3>
<div3 role="examples">
<head>Examples of this Success Criterion</head>
<ulist>
<item>
<p>
<emph role="bold">A quote</emph>
</p>
<p>A Web page contains a quote. The quote itself is presented as italicized text, indented from the left margin. The name of the person to whom the quote is attributed is below the quote with 1.5x the line space and further indented from the left margin. CSS is used to position the text; set the spacing between lines; as well as display the text's font family, size, color and decoration.</p>
</item>
<item>
<p>
<emph role="bold">Navigation items</emph>
</p>
<p>A Web page contains a menu of navigation links that have both an icon and text to describe their target. CSS is used to display the text's font family, size and foreground and background colors; as well as the spacing between the navigation links.</p>
</item>
<item>
<p>
<emph role="bold">A logo containing text</emph>
</p>
<p>A Web site contains the organization's logo in the top left corner of each Web page. The logo contains logotype (text as part, or all, of the logo). The visual presentation of the text is essential to the identity of the logo and is included as a gif image which does not allow the text characteristics to be changed. The image has a text alternative.</p>
</item>
<item>
<p>
<emph role="bold">Representation of a font family</emph>
</p>
<p>A Web page contains information about a particular font family. Substituting the font family with another font would defeat the purpose of the representation. The representation is included as a jpeg image which does not allow the text characteristics to be changed. The image has a text alternative.</p>
</item>
<item>
<p>
<emph role="bold">A representation of a letter</emph>
</p>
<p>A Web page contains a representation of an original letter. The depiction of the letter in its original format is essential to information being conveyed about the time period in which it was written. The letter is included as a gif image which does not allow the text characteristics to be changed. The image has a text alternative.</p>
</item>
<item>
<p>
<emph role="bold">Symbolic text characters</emph>
</p>
<p>A form allows users to enter blocks of text. The form provides a number of buttons, including functions to style the text and check spelling. Some of the buttons use text characters that do not form a sequence that expresses something in human language. For example "B" to increase font weight, "I" to italicize the text and "ABC" to check the spelling. The symbolic text characters are included as gif images which do not allow the text characteristics to be changed. The buttons have text alternatives.</p>
</item>
</ulist>
</div3>
<div3 role="resources">
<head>Additional Resources</head>
<ulist>
<item>
<p>
<loc href="http://alistapart.com/article/cssatten">CSS Web fonts</loc>
</p>
</item>
<item>
<p>
<loc href="http://clagnut.com/blog/2042/">Weblog comments: WebKit now supports CSS @font-face rules</loc>
</p>
</item>
<item>
<p>
<loc href="http://www.workingwith.me.uk/articles/css/cross-browser-drop-shadows">Creating Cross Browser Compatible CSS Text Shadows</loc>
</p>
</item>
<item>
<p>
<loc href="http://www.yourhtmlsource.com/stylesheets/csstext.html">CSS and text</loc>
</p>
</item>
</ulist>
</div3>
<div3 role="techniques">
<head>Techniques for implementing this Success Criterion</head>
<div4 role="sufficient">
<head>Sufficient Techniques</head>
<olist>
<item>
<p>
<loc href="C22" linktype="css">Using CSS to control visual presentation of text</loc>
</p>
</item>
<item>
<p>
<loc href="SL31"
linktype="silverlight"/>
</p>
</item>
<item>
<p>
<loc href="C30" linktype="css">Using CSS to replace text with images of text and providing user interface controls to switch</loc>
</p>
</item>
<item>
<p>
<loc href="G140"
linktype="general">Separating information and structure from presentation so that Web pages can be presented different ways without losing information</loc>
</p>
</item>
<item>
<p>
<loc href="PDF7" linktype="pdf"/>
</p>
</item>
</olist>
</div4>
<div4 role="tech-optional">
<head>Advisory Techniques</head>
<div5>
<head>General Techniques for Non-Decorative Content</head>
<ulist>
<item>
<p>Using server-side scripts to resize images of text (future link)</p>
</item>
</ulist>
</div5>
<div5>
<head>CSS Techniques</head>
<ulist>
<item>
<p>
<loc href="C12" linktype="css">Using percent for font sizes</loc>
</p>
</item>
<item>
<p>
<loc href="C13" linktype="css">Using named font sizes</loc>
</p>
</item>
<item>
<p>
<loc href="C14" linktype="css">Using em units for font sizes </loc>
</p>
</item>
<item>
<p>
<loc href="C8" linktype="css">Using CSS letter-spacing to control spacing within a word</loc>
</p>
</item>
<item>
<p>
<loc href="C6" linktype="css">Positioning content based on structural markup</loc>
</p>
</item>
<item>
<p>Avoid applying text styling to text characters within a word (future link)</p>
</item>
</ulist>
</div5>
</div4>
<div4 role="failures">
<head>Common Failures</head>
</div4>
</div3>
</div2>