Skip to content

Commit a6d0f4e

Browse files
authored
Update F2.html (#4128)
- ~~rephrased the introduction to include mention of assistive technology~~ - removed example 3 - updated outcome logic of checks 1 and 2 - ~~added a third condition to check 2~~ Resolves #4109
1 parent 2afa6a8 commit a6d0f4e

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

techniques/failures/F2.html

Lines changed: 2 additions & 21 deletions
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>
@@ -73,8 +55,7 @@ <h3>Using CSS to visually emphasize a phrase or word without conveying that emph
7355
</section>
7456
<section class="results"><h3>Expected Results</h3>
7557
<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>
58+
<li>If, in either situation, check 1 is true and check 2 is false, this failure condition applies and the content fails this success criterion. If condition 2 is true, the failure condition does not apply.</li>
7859
</ul>
7960
</section>
8061
</section><section id="related"><h2>Related Techniques</h2><ul>

0 commit comments

Comments
 (0)