W3C home > Mailing lists > Public > public-html-a11y@w3.org > September 2010

[Bug 10614] Clarify what <img role=presentation alt=<not-the-empty-string> > means

From: <bugzilla@jessica.w3.org>
Date: Mon, 13 Sep 2010 00:27:20 +0000
To: public-html-a11y@w3.org
Message-Id: <E1OuwtE-00047W-Ux@jessica.w3.org>

--- Comment #3 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>  2010-09-13 00:27:20 ---
The ARIA 1.0 draft says that role=presentation:
]]  does not cause the content contained within the element to be removed from
the accessible tree [[:
[*] http://www.w3.org/WAI.new/PF/aria/complete#presentation

That HTML5 considers the @alt value as "content contained with the element",
should be clear from the draft:

]]  the value of the alt attribute is the img element's fallback content [[

]]  fallback content: content that is to be used when the external resource
cannot be used [[
     [*] http://dev.w3.org/html5/spec/content-models.html#fallback-content

]]  What an img element represents depends on the src attribute and the alt
    [*] http://dev.w3.org/html5/spec/embedded-content-1#img-load

]]  If the src attribute is set and the alt attribute is set to a value that
isn't empty[:]
    The image is a key part of the content; the alt attribute gives a textual
equivalent or replacement for the image.
    If the image is available and the user agent is configured to display that
image, then the element represents the image specified by the src attribute.
    Otherwise, the element represents the text given by the alt attribute. User
agents may provide the user with a notification that an image is present but
has been omitted from the rendering. [[
    [*] http://dev.w3.org/html5/spec/embedded-content-1#img-load

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 Monday, 13 September 2010 00:27:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:55:44 UTC