This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22855 - Would it make sense to say that not having alt violates WCAG?
Summary: Would it make sense to say that not having alt violates WCAG?
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords: a11y
Depends on:
Blocks:
 
Reported: 2013-08-01 17:01 UTC by dmacdona
Modified: 2015-06-05 15:05 UTC (History)
5 users (show)

See Also:


Attachments

Description dmacdona 2013-08-01 17:01:48 UTC
"4.8.1.1.14 When a text alternative is not available at the time of publication"

Uneasy about the harm reduction technique of  providing the file name instead of alt "when alt is not available"... Most AT speaks file name anyway.

Perhaps consider stronger language discouraging it, and make it clear that it violates WCAG.

For sighted folks ALT is almost always available, although it may be imprecise or in the case of a web master, because he may not know the "equivalent purpose" since he does not know the intended purpose of the author...

I'm concerned about the perception that it is not a big deal that alt is missing.
Comment 1 dmacdona 2013-08-01 17:08:04 UTC
The warning is:

Note: Since some users cannot use images at all (e.g. because they are blind) the alt attribute is only allowed to be omitted when no text alternative is available and none can be made available, as in the above examples.

"is only allowed"

by who, HTML5? if so we should put that limitation.... because WCAG does not allow this, neither do any applicable laws which have adopted the WCAG, so authors may think they are off the hook, and may be subject to a breach of law for not having ALT text.


Perhaps add: 
Note: Since some users cannot use images at all (e.g. because they are blind) the alt attribute is only allowed <add>in this specification</add>to be omitted when no text alternative is available and none can be made available, as in the above examples.  <add>However, it my not be allowed under accessibility laws.</add>
Comment 2 dmacdona 2013-08-01 17:14:02 UTC
The section on markup generators says it is really bad to use file name, yet in the section before we recommend it if the alt is not available.


4.8.1.1.19 Guidance for markup generators
This is intended to avoid markup generators from being pressured into replacing the error of omitting the alt attribute with the even more egregious error of providing phony text alternatives, because state-of-the-art automated conformance checkers cannot distinguish phony text alternatives from correct text alternatives...
Markup generators should generally avoid using the image's own file name as the text alternative..
Comment 3 steve faulkner 2015-06-05 15:05:13 UTC
img without an alt attribute does not violate WCAG