[Bug 6494] New: Make the requiredness about alt more obvious

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6494

           Summary: Make the requiredness about alt more obvious
           Product: HTML WG
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: simonp@opera.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


HTML5 allows <img> elements to be associated with a "caption" by various means,
in which case the alt attribute may be omitted, and AFAICT there's only one
case when the alt attribute may be omitted even without a caption, which is:

"4.8.2.1.11 An image in an e-mail or document intended for a specific person
who is known to be able to view images"

...which is probably not something that you would see on the Web and so a
validator could ignore that case, making alt required (when there's no
caption), meaning that a validator would flag an error when there's no alt and
no caption.

>From discussions on w3c-wai-pf it appears that it is not obvious from the spec
that this is the case so it would perhaps be useful if the spec was clearer on
this point.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 29 January 2009 15:16:50 UTC