Patrick Lauke commented on issue #278 at html-validate / html-validate

Patrick Lauke
2025-01-05T17:21:41Z

Doesn't this clash with H67 which explicitly say to use alt="" when it is supposed to be ignored by AT?

Folks, there seems to be a misunderstanding here with regards to WCAG itself, and in particular the techniques. Techniques are information, not normative. They give examples of passes or failures, but it does not mean all possible ways to achieve something is covered, and it certainly doesn't mean that authors are required to use a particular technique.

So no, H67 doesn't say explicitly that authors must use empty alt, and nothing else is allowed. It's only a technique, it's only an example. What matters is the normative requirement of the success criterion itself, and to a lesser extent the rationale from the understanding documentation for that success criterion. So "implemented in a way that it can be ignored by assistive technology" is what you must do, and there's a myriad different ways to do that.