Skip to content

Commit

Permalink
🤖 Deploy to GitHub Pages: 5e21f6e from branch refs/heads/main
Browse files Browse the repository at this point in the history
  • Loading branch information
w3cgruntbot committed Oct 29, 2024
1 parent 215cbcd commit b741be3
Showing 1 changed file with 42 additions and 128 deletions.
170 changes: 42 additions & 128 deletions understanding/images-of-text.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,17 +125,17 @@ <h1>
</h1>



<section id="brief">
<h2>In Brief</h2>
<dl>
<dt>Goal</dt><dd>Users can adjust how text is presented.</dd>
<dt>What to do</dt><dd>Use text instead of pictures of text.</dd>
<dt>Why it's important</dt><dd>People cannot alter how text looks in images.</dd>
<dt>Why it's important</dt><dd>People cannot alter how text looks in images.</dd>
</dl>

</section>



<section id="success-criterion" class="box">
Expand Down Expand Up @@ -181,15 +181,14 @@ <h2 class="box-h box-h-icon">Success Criterion (SC)</h2>

<section id="intent">
<h2>Intent</h2>



<p>The intent of this Success Criterion is to encourage authors, who are using technologies
which are capable of achieving their desired default visual presentation, to enable
people who require a particular visual presentation of text to be able to adjust the
text presentation as needed. This includes people who require the text in a particular
font size, foreground and background color, font family, line spacing or alignment.
</p>

<p>If authors can use text to achieve the same visual effect, they should present
the information as text rather than using an image. If for any reason, the author
cannot format the text to get the same effect, the effect won't be reliably presented
Expand All @@ -201,52 +200,46 @@ <h2>Intent</h2>
widely deployed or which the author doesn't have the right to redistribute, or to
ensure that the text would be anti-aliased on all user agents.
</p>

<p>Images of text can also be used where it is possible for users to customize the image
of text to match their requirements.
</p>
<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

<p>The definition of <a href="#dfn-image-of-text">images of text</a> contains the note: This does not include text that is part of a picture that contains significant
other visual content. Examples of such pictures include graphs, screenshots, and diagrams which visually
convey important information through more than just text.
</p>


<div class="note">
<p class="note-title marker">Note</p>
<p>The Success Criterion is intended to address situations where <a href="#dfn-image-of-text">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 <a href="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>
</div>

<p>Techniques for satisfying this Success Criterion are the same as those for Success
Criterion 1.4.9, except that they only need to apply if the visual presentation can
be achieved with the technologies that the author is using. For Success Criterion
1.4.9, the sufficient techniques would be applied only when the user can customize
the output.
</p>

<p>See also
<a href="images-of-text-no-exception">1.4.9: Images of Text (No Exception)</a>.
the output.
</p>



<p>See also <a href="images-of-text-no-exception">1.4.9 Images of Text (No Exception)</a>.</p>

</section>
<section id="benefits">
<h2>Benefits</h2>


<ul>

<li>People with low vision (who may have trouble reading the text with the authored font
family, size and/or color).
</li>

<li>People with visual tracking problems (who may have trouble reading the text with the
authored line spacing and/or alignment).
</li>

<li>People with cognitive disabilities that affect reading.</li>

</ul>

</section>

<section id="examples">
<h2>Examples</h2>

<dl>
<dt>Styled Headings</dt>
<dd>Rather than using bitmap images to present headings in a specific font and size, an
Expand Down Expand Up @@ -291,13 +284,17 @@ <h2>Examples</h2>
<dt>Customizable font settings in images of text</dt>
<dd>A Web site allows users to specify font settings and all images of text on the site
are then provided based on those settings.</dd>
<dt>The text in an image is also provided as text.</dt>
<dd>A user has to upload an event poster image, which includes text, to their website's events
calendar. The site's CMS (content management system) is limited, and won't allow them to create
a custom HTML/CSS/SVG recreation of the poster. However, in addition to the image, they can add
regular text to the calendar entry, so they post both the poster and the text contained in the image.
This text is shown next to the poster image on the site's calendar page.</dd>
</dl>

</section>









Expand All @@ -307,36 +304,12 @@ <h2>Related Resources</h2>
<p>Resources are for information purposes only, no endorsement implied.</p>




<ul>

<li>

<a href="http://alistapart.com/article/cssatten">CSS Web fonts</a>

</li>

<li>

<a href="http://clagnut.com/blog/2042/">Weblog comments: WebKit now supports CSS @font-face rules</a>

</li>

<li>

<a href="http://www.workingwith.me.uk/articles/css/cross-browser-drop-shadows">Creating Cross Browser Compatible CSS Text Shadows</a>

</li>

<li>

<a href="http://www.yourhtmlsource.com/stylesheets/csstext.html">CSS and text</a>

</li>

<li><a href="http://alistapart.com/article/cssatten">CSS Web fonts</a></li>
<li><a href="http://clagnut.com/blog/2042/">Weblog comments: WebKit now supports CSS @font-face rules</a></li>
<li><a href="http://www.workingwith.me.uk/articles/css/cross-browser-drop-shadows">Creating Cross Browser Compatible CSS Text Shadows</a></li>
<li><a href="http://www.yourhtmlsource.com/stylesheets/csstext.html">CSS and text</a></li>
</ul>

</section>
<section id="techniques">
<h2>Techniques</h2>
Expand All @@ -350,94 +323,35 @@ <h2>Techniques</h2>
</p>




<section id="sufficient">
<h3>Sufficient Techniques</h3>


<ul>

<li>

<a href="https://w3c.github.io/wcag/techniques/css/C22">C22: Using CSS to control visual presentation of text</a>

</li>

<li>

<a href="https://w3c.github.io/wcag/techniques/css/C30">C30: Using CSS to replace text with images of text and providing user interface controls to switch</a>

</li>

<li>

<a href="https://w3c.github.io/wcag/techniques/general/G140">G140: Separating information and structure from presentation to enable different presentations</a>

</li>

<li>

<a href="https://w3c.github.io/wcag/techniques/pdf/PDF7">PDF7: Performing OCR on a scanned PDF document to provide actual text</a>

</li>

<li><a href="https://w3c.github.io/wcag/techniques/css/C22">C22: Using CSS to control visual presentation of text</a></li>
<li><a href="https://w3c.github.io/wcag/techniques/css/C30">C30: Using CSS to replace text with images of text and providing user interface controls to switch</a></li>
<li><a href="https://w3c.github.io/wcag/techniques/general/G140">G140: Separating information and structure from presentation to enable different presentations</a></li>
<li><a href="https://w3c.github.io/wcag/techniques/pdf/PDF7">PDF7: Performing OCR on a scanned PDF document to provide actual text</a></li>
</ul>

</section>

<section id="advisory">
<h3>Advisory Techniques</h3>
<p>
Although not required for conformance, the following additional techniques should be considered in order to make content more accessible.
Not all techniques can be used or would be effective in all situations.
</p>



<section id="css-techniques">

<h4>CSS Techniques</h4>

<ul>

<li>

<a href="https://w3c.github.io/wcag/techniques/css/C12">C12: Using percent for font sizes</a>

</li>

<li>

<a href="https://w3c.github.io/wcag/techniques/css/C13">C13: Using named font sizes</a>

</li>

<li>

<a href="https://w3c.github.io/wcag/techniques/css/C14">C14: Using em units for font sizes</a>

</li>

<li>

<a href="https://w3c.github.io/wcag/techniques/css/C8">C8: Using CSS letter-spacing to control spacing within a word</a>

</li>

<li>

<a href="https://w3c.github.io/wcag/techniques/css/C6">C6: Positioning content based on structural markup</a>

</li>

<li><a href="https://w3c.github.io/wcag/techniques/css/C12">C12: Using percent for font sizes</a></li>
<li><a href="https://w3c.github.io/wcag/techniques/css/C13">C13: Using named font sizes</a></li>
<li><a href="https://w3c.github.io/wcag/techniques/css/C14">C14: Using em units for font sizes</a></li>
<li><a href="https://w3c.github.io/wcag/techniques/css/C8">C8: Using CSS letter-spacing to control spacing within a word</a></li>
<li><a href="https://w3c.github.io/wcag/techniques/css/C6">C6: Positioning content based on structural markup</a></li>
</ul>

</section>

</section>




</section>

Expand Down

0 comments on commit b741be3

Please sign in to comment.