Skip to content

Commit 946397c

Browse files
giacomo-petrimbgowerpatrickhlauke
authored
[WCAG AAA] - Move H28 from sufficient to advisory in 3.1.4 Abbreviations SC (#4195)
Closes: #3019 [H28](https://www.w3.org/WAI/WCAG21/Techniques/html/H28) is not a sufficient technique, rather than an advisory one, since it would likely fail 2.1.1 Actions: moved H28 from sufficient to advisory. --------- Co-authored-by: Mike Gower <michael.gower@ca.ibm.com> Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
1 parent 1736b7b commit 946397c

File tree

2 files changed

+6
-20
lines changed

2 files changed

+6
-20
lines changed

techniques/html/H28.html

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ <h2>When to Use</h2>
1818
<h2>Description</h2>
1919
<p>The objective of this technique is to provide expansions or definitions for
2020
abbreviations by using the <code class="language-html">abbr</code> element. It is always appropriate to use the <code class="language-html">abbr</code> element for any abbreviation, including acronyms and initialisms.</p>
21+
<p>This technique has been altered from a sufficient technique to an advisory technique because it uses the <code>title</code> attribute of <code>abbr</code> to provide the expansion of the abbreviation needed to achieve a sufficient technique when used in combination with <a href="../general/G102">G102</a>. As noted in the <a href="https://html.spec.whatwg.org/multipage/dom.html#the-title-attribute"> specification</a>:</p>
22+
23+
<blockquote><p>Relying on the title attribute is currently discouraged as many user agents do not expose the attribute in an accessible manner as required by this specification (e.g., requiring a pointing device such as a mouse to cause a tooltip to appear, which excludes keyboard-only users and touch-only users, such as anyone with a modern phone or tablet).</p></blockquote>
2124
</section>
2225

2326
<section id="examples">

understanding/20/abbreviations.html

+3-20
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,6 @@ <h4>Situation A: If the abbreviation has only one meaning within the Web page:
176176
<a href="../Techniques/general/G55" class="general">Linking to definitions</a>
177177
</li>
178178

179-
<li>
180-
181-
<a href="../Techniques/html/H28" class="html">Providing definitions for abbreviations by using the abbr and acronym elements</a>
182-
183-
</li>
184-
185179
<li>
186180

187181
<a href="../Techniques/pdf/PDF8" class="pdf"></a>
@@ -225,12 +219,6 @@ <h4>Situation A: If the abbreviation has only one meaning within the Web page:
225219

226220
</li>
227221

228-
<li>
229-
230-
<a href="../Techniques/html/H28" class="html">Providing definitions for abbreviations by using the abbr and acronym elements</a>
231-
232-
</li>
233-
234222
<li>
235223

236224
<a href="../Techniques/pdf/PDF8" class="pdf"></a>
@@ -270,12 +258,6 @@ <h4>Situation B: If the abbreviation means different things within the same Web
270258

271259
</li>
272260

273-
<li>
274-
275-
<a href="../Techniques/html/H28" class="html">Providing definitions for abbreviations by using the abbr and acronym elements</a>
276-
277-
</li>
278-
279261
<li>
280262

281263
<a href="../Techniques/pdf/PDF8" class="pdf"></a>
@@ -295,8 +277,9 @@ <h4>Situation B: If the abbreviation means different things within the same Web
295277

296278
<section id="advisory">
297279
<h3>Additional Techniques (Advisory) for Abbreviations</h3>
298-
299-
280+
<ul>
281+
<li><a href="../Techniques/html/H28" class="html">Providing definitions for abbreviations by using the abbr and acronym elements</a></li>
282+
</ul>
300283
</section>
301284

302285
<section id="failure">

0 commit comments

Comments
 (0)