Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update F2.html #4128

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 7 additions & 24 deletions techniques/failures/F2.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html><html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><title>Failure of Success Criterion 1.3.1 due to using changes in text presentation to convey information without using the appropriate markup or text</title><link rel="stylesheet" type="text/css" href="../../css/editors.css" class="remove"/></head><body><h1>Failure of Success Criterion 1.3.1 due to using changes in text presentation to convey information without using the appropriate markup or text</h1><section class="meta"><p class="id">ID: F2</p><p class="technology">Technology: failures</p><p class="type">Type: Failure</p></section><section id="applicability"><h2>When to Use</h2>
<p>All technologies that support images or presentation markup.</p>
</section><section id="description"><h2>Description</h2>
<p>This document describes a failure that occurs when a change in the appearance of text conveys meaning without using appropriate semantic markup. This failure also applies to images of text that are not enclosed in the appropriate semantic markup.</p>
<p>This document describes a failure that occurs when a change in the appearance of text conveys meaning without using appropriate semantic markup, or without using text styling that is conveyed by assistive technology. This failure also applies to images of text that are not enclosed in the appropriate semantic markup.</p>
dbjorge marked this conversation as resolved.
Show resolved Hide resolved
</section><section id="examples"><h2>Examples</h2>
<section class="example">
<h3>Using CSS to style the <code class="language-html">p</code> element to look like a heading</h3>
Expand Down Expand Up @@ -33,25 +33,7 @@ <h3>Images of text used as headings where the images are not marked up with head
<pre xml:space="preserve"><code class="language-html">&lt;img src="Chapter1.gif" alt="Chapter One"&gt;
&lt;p&gt;Once upon a time in the land of the Web...&lt;/p&gt;</code></pre>
</section>
<section class="example">
<h3>Using CSS to visually emphasize a phrase or word without conveying that emphasis semantically</h3>

<p>The following example fails because the information conveyed by using the CSS font-weight property to change to a bold font is not conveyed through semantic markup or stated explicitly in the text.</p>
<p>Here is a CSS class to specify bold:</p>
<pre xml:space="preserve"><code class="language-css">.yell {
font-weight:bold;
text-transform: uppercase;
}</code>
</pre>
<p>And here is the corresponding HTML:</p>
<pre xml:space="preserve"><code class="language-html">&lt;p&gt;
"I said, &lt;span class="yell"&gt;no&lt;/span&gt;, not before dinner!",
was the exasperated response when Timmy asked his mother for the
fourth time for an ice cream cone.
&lt;/p&gt;</code>
</pre>

</section>

</section><section id="tests"><h2>Tests</h2>
<section class="procedure"><h3>Procedure</h3>
<ol>
Expand All @@ -65,16 +47,17 @@ <h3>Using CSS to visually emphasize a phrase or word without conveying that emph
<li>
<p>For styled text that conveys information:</p>
<ol>
<li>Check if there is any styled text that conveys structural information.</li>
<li>Check that in addition to styling, the proper semantic structure is used with the text to convey the information.</li>
<li>Check if there is any styled text whose change in appearance conveys meaning.</li>
mbgower marked this conversation as resolved.
Show resolved Hide resolved
<li>Check that in addition to styling, the proper semantic structure is used with the text to convey the visual information.</li>
<li>Check that supported assistive technologies surface the change in meaning in text styling.</li>
</ol>
</li>
</ol>
</section>
<section class="results"><h3>Expected Results</h3>
<ul>
<li>If check #1.1 is true, then #1.2 is true.</li>
<li>If check #2.1 is true, then #2.2 is true.</li>
<li>If check 1.1 is true and 1.2 is false, this failure condition applies and the content fails this success criterion. If 1.2 is true, the failure condition does not apply.</li>
<li>If check 2.1 is true, then if both 2.2 and 2.3 are false, this failure condition applies and the content fails this success criterion. If either 2.2 or 2.3 is true, the failure condition does not apply.</li>
</ul>
</section>
</section><section id="related"><h2>Related Techniques</h2><ul>
Expand Down