Skip to content

Commit b80a03d

Browse files
committed
Update F2.html
- removed example 3 - updated outcome logic of checks 1 and 2 - added a third condition to check 2
1 parent b99ada8 commit b80a03d

File tree

1 file changed

+6
-23
lines changed

1 file changed

+6
-23
lines changed

techniques/failures/F2.html

+6-23
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,7 @@ <h3>Images of text used as headings where the images are not marked up with head
3333
<pre xml:space="preserve"><code class="language-html">&lt;img src="Chapter1.gif" alt="Chapter One"&gt;
3434
&lt;p&gt;Once upon a time in the land of the Web...&lt;/p&gt;</code></pre>
3535
</section>
36-
<section class="example">
37-
<h3>Using CSS to visually emphasize a phrase or word without conveying that emphasis semantically</h3>
38-
39-
<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>
40-
<p>Here is a CSS class to specify bold:</p>
41-
<pre xml:space="preserve"><code class="language-css">.yell {
42-
font-weight:bold;
43-
text-transform: uppercase;
44-
}</code>
45-
</pre>
46-
<p>And here is the corresponding HTML:</p>
47-
<pre xml:space="preserve"><code class="language-html">&lt;p&gt;
48-
"I said, &lt;span class="yell"&gt;no&lt;/span&gt;, not before dinner!",
49-
was the exasperated response when Timmy asked his mother for the
50-
fourth time for an ice cream cone.
51-
&lt;/p&gt;</code>
52-
</pre>
53-
54-
</section>
36+
5537
</section><section id="tests"><h2>Tests</h2>
5638
<section class="procedure"><h3>Procedure</h3>
5739
<ol>
@@ -65,16 +47,17 @@ <h3>Using CSS to visually emphasize a phrase or word without conveying that emph
6547
<li>
6648
<p>For styled text that conveys information:</p>
6749
<ol>
68-
<li>Check if there is any styled text that conveys structural information.</li>
69-
<li>Check that in addition to styling, the proper semantic structure is used with the text to convey the information.</li>
50+
<li>Check if there is any styled text whose change in appearance conveys meaning.</li>
51+
<li>Check that in addition to styling, the proper semantic structure is used with the text to convey the visual information.</li>
52+
<li>Check that supported assistive technologies surface the change in text styling.</li>
7053
</ol>
7154
</li>
7255
</ol>
7356
</section>
7457
<section class="results"><h3>Expected Results</h3>
7558
<ul>
76-
<li>If check #1.1 is true, then #1.2 is true.</li>
77-
<li>If check #2.1 is true, then #2.2 is true.</li>
59+
<li>If check 1.1 is true and 1.2 is false, this failure condition applies and the content fails this success criterion. If either 1.2 is true, the failure condition does not apply.</li>
60+
<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>
7861
</ul>
7962
</section>
8063
</section><section id="related"><h2>Related Techniques</h2><ul>

0 commit comments

Comments
 (0)