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 all 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
25 changes: 3 additions & 22 deletions techniques/failures/F2.html
Original file line number Diff line number Diff line change
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 @@ -66,15 +48,14 @@ <h3>Using CSS to visually emphasize a phrase or word without conveying that emph
<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 that in addition to styling, the proper semantic structure is used with the text to convey the visual information.</li>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<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 in addition to styling, the proper semantic structure is used with the text to convey the information.</li>

Copy link
Contributor Author

@mbgower mbgower Nov 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on discussion with Detlev and prior discussions, pulling back the addition of "visual" as that may be unnecessarily confining what kind of information is conveyed (i.e., yes, the citation element puts it in italics, but it is also conveying more than that).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

information/meaning

</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, 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>
</ul>
</section>
</section><section id="related"><h2>Related Techniques</h2><ul>
Expand Down