Skip to content
New issue

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

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

Already on GitHub? # to your account

Technique H28 should not be sufficient to meet 3.1.4: Abbreviations #3019

Closed
jialiang opened this issue Feb 12, 2023 · 1 comment · Fixed by #4195
Closed

Technique H28 should not be sufficient to meet 3.1.4: Abbreviations #3019

jialiang opened this issue Feb 12, 2023 · 1 comment · Fixed by #4195

Comments

@jialiang
Copy link

jialiang commented Feb 12, 2023

Technique H28:Providing definitions for abbreviations by using the abbr element

Technically the <abbr> tag is used to indicate and define abbreviations. E.g. <abbr title="pound">lb.</abbr>.

But in reality, to quote the WHATWG (https://html.spec.whatwg.org/multipage/dom.html#the-title-attribute):

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).

True enough, in major browsers like Chrome and Firefox, you can't get the text in the title attribute to show up in any way if you're using touch or keyboard.

@patrickhlauke
Copy link
Member

I would be in favour of removing this technique, or demoting it from sufficient to advisory, exactly because <abbr> is not keyboard-supported - so following this technique would lead to a 2.1.1 failure.

@giacomo-petri giacomo-petri self-assigned this Jan 12, 2025
mbgower added a commit that referenced this issue Mar 7, 2025
…ons 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>
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants