W3C home > Mailing lists > Public > public-html@w3.org > January 2009

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

From: <bugzilla@wiggum.w3.org>
Date: Thu, 29 Jan 2009 15:04:19 +0000
To: public-html@w3.org
Message-ID: <bug-6494-2495@http.www.w3.org/Bugs/Public/>

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 on the CC list for the bug.
Received on Thursday, 29 January 2009 15:16:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:28 GMT