You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add note about the scope of 1.4.5 Images of Text (images used *rather than* text) and example (#4021)
Closes: #3755
This is an alternative to #3773
following discussions in WCAG 2.x backlog meeting from 9 August meeting.
Filed here as a separate clean PR, rather than trying to modify
@giacomo-petri's PR
---------
Co-authored-by: Mike Gower <mikegower@gmail.com>
<dt>Goal</dt><dd>Users can adjust how text is presented.</dd>
15
15
<dt>What to do</dt><dd>Use text instead of pictures of text.</dd>
16
-
<dt>Why it's important</dt><dd>People cannot alter how text looks in images.</dd>
16
+
<dt>Why it's important</dt><dd>People cannot alter how text looks in images.</dd>
17
17
</dl>
18
18
19
19
</section>
20
-
20
+
21
21
<sectionid="intent">
22
22
<h2>Intent of Images of Text</h2>
23
-
24
-
23
+
25
24
<p>The intent of this Success Criterion is to encourage authors, who are using technologies
26
25
which are capable of achieving their desired default visual presentation, to enable
27
26
people who require a particular visual presentation of text to be able to adjust the
28
27
text presentation as needed. This includes people who require the text in a particular
29
28
font size, foreground and background color, font family, line spacing or alignment.
30
29
</p>
31
-
30
+
32
31
<p>If authors can use text to achieve the same visual effect, they should present
33
32
the information as text rather than using an image. If for any reason, the author
34
33
cannot format the text to get the same effect, the effect won't be reliably presented
@@ -40,52 +39,43 @@ <h2>Intent of Images of Text</h2>
40
39
widely deployed or which the author doesn't have the right to redistribute, or to
41
40
ensure that the text would be anti-aliased on all user agents.
42
41
</p>
43
-
42
+
44
43
<p>Images of text can also be used where it is possible for users to customize the image
45
44
of text to match their requirements.
46
45
</p>
47
-
48
-
<p>The definition of image of text contains the note: Note: This does not include text that is part of a picture that contains significant
46
+
47
+
<p>The definition of <a>images of text</a> contains the note: This does not include text that is part of a picture that contains significant
49
48
other visual content. Examples of such pictures include graphs, screenshots, and diagrams which visually
50
49
convey important information through more than just text.
51
50
</p>
52
-
51
+
52
+
<pclass="note">The Success Criterion is intended to address situations where <a>images of text</a> are used <em>rather than</em> text. Where images of text are used <em>in addition to</em> text to convey the same information, and where both are presented to the user, this Success Criterion is met. This allows authors to convey content using any styling they desire, while also presenting the information in text, which can then be manipulated by users to make it more distinguishable. This is in contrast to <ahref="images-of-text-no-exception">1.4.9 Images of Text (No Exception)</a>, which applies to all images of text, regardless of whether or not they are used <em>in addition to</em> text.</p>
53
+
53
54
<p>Techniques for satisfying this Success Criterion are the same as those for Success
54
55
Criterion 1.4.9, except that they only need to apply if the visual presentation can
55
56
be achieved with the technologies that the author is using. For Success Criterion
56
57
1.4.9, the sufficient techniques would be applied only when the user can customize
57
-
the output.
58
-
</p>
59
-
60
-
<p>See also
61
-
<ahref="images-of-text-no-exception">1.4.9: Images of Text (No Exception)</a>.
58
+
the output.
62
59
</p>
63
-
64
-
60
+
61
+
<p>See also <ahref="images-of-text-no-exception">1.4.9 Images of Text (No Exception)</a>.</p>
62
+
65
63
</section>
66
64
<sectionid="benefits">
67
65
<h2>Benefits of Images of Text</h2>
68
-
69
-
70
66
<ul>
71
-
72
67
<li>People with low vision (who may have trouble reading the text with the authored font
73
68
family, size and/or color).
74
69
</li>
75
-
76
70
<li>People with visual tracking problems (who may have trouble reading the text with the
77
71
authored line spacing and/or alignment).
78
72
</li>
79
-
80
73
<li>People with cognitive disabilities that affect reading.</li>
81
-
82
74
</ul>
83
-
84
75
</section>
85
-
76
+
86
77
<sectionid="examples">
87
78
<h2>Examples of Images of Text</h2>
88
-
89
79
<dl>
90
80
<dt>Styled Headings</dt>
91
81
<dd>Rather than using bitmap images to present headings in a specific font and size, an
@@ -130,139 +120,54 @@ <h2>Examples of Images of Text</h2>
130
120
<dt>Customizable font settings in images of text</dt>
131
121
<dd>A Web site allows users to specify font settings and all images of text on the site
132
122
are then provided based on those settings.</dd>
123
+
<dt>The text in an image is also provided as text.</dt>
124
+
<dd>A user has to upload an event poster image, which includes text, to their website's events
125
+
calendar. The site's CMS (content management system) is limited, and won't allow them to create
126
+
a custom HTML/CSS/SVG recreation of the poster. However, in addition to the image, they can add
127
+
regular text to the calendar entry, so they post both the poster and the text contained in the image.
128
+
This text is shown next to the poster image on the site's calendar page.</dd>
133
129
</dl>
134
-
135
130
</section>
136
-
131
+
137
132
<sectionid="resources">
138
133
<h2>Resources for Images of Text</h2>
139
-
140
-
141
134
<ul>
142
-
143
-
<li>
144
-
145
-
<ahref="http://alistapart.com/article/cssatten">CSS Web fonts</a>
146
-
147
-
</li>
148
-
149
-
<li>
150
-
151
-
<ahref="http://clagnut.com/blog/2042/">Weblog comments: WebKit now supports CSS @font-face rules</a>
152
-
153
-
</li>
154
-
155
-
<li>
156
-
157
-
<ahref="http://www.workingwith.me.uk/articles/css/cross-browser-drop-shadows">Creating Cross Browser Compatible CSS Text Shadows</a>
158
-
159
-
</li>
160
-
161
-
<li>
162
-
163
-
<ahref="http://www.yourhtmlsource.com/stylesheets/csstext.html">CSS and text</a>
164
-
165
-
</li>
166
-
135
+
<li><ahref="http://alistapart.com/article/cssatten">CSS Web fonts</a></li>
136
+
<li><ahref="http://clagnut.com/blog/2042/">Weblog comments: WebKit now supports CSS @font-face rules</a></li>
137
+
<li><ahref="http://www.workingwith.me.uk/articles/css/cross-browser-drop-shadows">Creating Cross Browser Compatible CSS Text Shadows</a></li>
138
+
<li><ahref="http://www.yourhtmlsource.com/stylesheets/csstext.html">CSS and text</a></li>
167
139
</ul>
168
-
169
140
</section>
170
-
141
+
171
142
<sectionid="techniques">
172
143
<h2>Techniques for Images of Text</h2>
173
-
174
-
175
144
<sectionid="sufficient">
176
145
<h3>Sufficient Techniques for Images of Text</h3>
177
-
178
-
179
146
<ul>
180
-
181
-
<li>
182
-
183
-
<ahref="../Techniques/css/C22" class="css">Using CSS to control visual presentation of text</a>
184
-
185
-
</li>
186
-
187
-
<li>
188
-
189
-
<ahref="../Techniques/css/C30" class="css">Using CSS to replace text with images of text and providing user interface controls
190
-
to switch
191
-
</a>
192
-
193
-
</li>
194
-
195
-
<li>
196
-
197
-
<ahref="../Techniques/general/G140" class="general">Separating information and structure from presentation so that Web pages can be presented
198
-
different ways without losing information
199
-
</a>
200
-
201
-
</li>
202
-
203
-
<li>
204
-
205
-
<ahref="../Techniques/pdf/PDF7" class="pdf"></a>
206
-
207
-
</li>
208
-
147
+
<li><ahref="../Techniques/css/C22" class="css">Using CSS to control visual presentation of text</a></li>
148
+
<li><ahref="../Techniques/css/C30" class="css">Using CSS to replace text with images of text and providing user interface controls to switch</a></li>
149
+
<li><ahref="../Techniques/general/G140" class="general">Separating information and structure from presentation so that Web pages can be presented different ways without losing information</a></li>
0 commit comments