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

Re: Add rationale or exclude role="presentation", aria-labelledby & aria-labelled attributes from alt change proposal? Help needed. (was Re: ISSUE-31 Change Proposal)

From: Martin Kliehm <martin.kliehm@namics.com>
Date: Thu, 15 Jul 2010 19:20:38 +0200
Message-ID: <4C3F4366.5020800@namics.com>
To: HTML Accessibility Task Force <public-html-a11y@w3.org>
Hi Laura,

> On 6/23/10, Maciej Stachowiak<mjs@apple.com>  wrote:
>> * aria-labelledby attribute present (non-empty only)
>>* aria-label attribute is present (non-empty only)

as Steve has already provided a rationale for role="presentation" I see
that "aria-labelledby" and "aria-label" (not "aria-labelled") haven't
been explained yet.

aria-labelledby refers to the ID of another element containing a label
for the image. It adds a relationship between the image and the element
acting as a label. Thus there is text that can be read by AT, and the
alt attribute on the image should be omitted to avoid redundancy, i.e.
reading the text twice.

aria-label is an attribute of the image element and has the same
function as the alt attribute. Therefore it is sufficient if either is
present.

aria-label has been added rather late to the ARIA spec and thus isn't on
the radar of many people. Rich Schwerdtfeger once explained that is has
been requested by a browser vendor if I remember it right, he can tell
you the raison d'être.

Cheers,
   Martin
Received on Thursday, 15 July 2010 17:21:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:42:13 GMT