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

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





--- 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 [[
     [*]http://dev.w3.org/html5/spec/embedded-content-1.html#attr-img-alt

]]  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
attribute.[[
    [*] 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