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

[Bug 10444] ARIA section does not list elements that have no default role or role restrictions

From: <bugzilla@jessica.w3.org>
Date: Sat, 28 Aug 2010 19:18:22 +0000
To: public-html-a11y@w3.org
Message-Id: <E1OpQv0-0001Sz-Mp@jessica.w3.org>

Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
                 CC|                            |xn--mlform-iua@xn--mlform-i
                   |                            |ua.no
         Resolution|FIXED                       |

--- Comment #3 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>  2010-08-28 19:18:21 ---
The intention of the (In reply to comment #0)
> Some HTML elements have no special ARIA semantics - neither a default role nor
> restrictions on allowed roles. While it can be inferred that this is true of
> any element not explicitly mentioned, it is helpful for implementors and
> reviewers of the spec to have an explicit list, if only to be confident that
> missing elements are supposed to be handled this way, and were not just
> overlooked.
> Elements in this category:


> img (that does not have an empty alt)

This is incorrect.  Please remove the IMG with non-empty @alt from the list.

The proposal from the A11Y TF is that an IMG element with an non-empty @alt
should default to role="img".


This can also be demonstrated with a look at how VoiceOver works with Webkit:
Normally, VoiceOver reads the @alt attribute of an IMG. But when  the <img>
element has the @usemap attribute, then Webkit does not read teh @alt
attribute. However, if you give an <img> element BOTH @usemap + @role="img",
_then_ VoiceOver/Webkit reads the @alt attribute.

That Webkit fails to read the @alt of an image map <img>, is a bug. However,
the described behavior demonstrates that Webkit, by default, treats an <img>
element as having role="img".

The correct resolution is to say that <img> with a non-empty @alt should
default to role="img" but that it may be set to any role.

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 Saturday, 28 August 2010 19:18:24 UTC

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