ISSUE-334: Inconsistency between spec and implementation guide

Precedence of aria-label and aria-labelledby

Inconsistency between spec and implementation guide

State:
CLOSED
Product:
ARIA 1.0
Raised by:
Joseph Scheuhammer
Opened on:
2009-06-29
Description:
The text equivalent algorithm gives rules for how to use aria-label and aria-labelledby properties. The spec's [1] rule 2A states that aria-labelledby is preferred. The implementation guide [2] rules 2C and 2D state that aria-label is preferred. Which should be preferred?

Notes:
- FF 3.5 prefers aria-label= [3]
- the bug noted in [3] also states that aria-label is preferred when the text equivalent will not be shown, but aria-labelledby is preferred when it will be shown.
- Recent discussion thread on wai-xtech regarding both being present [4]

[1] http://www.w3.org/WAI/PF/aria/#nameref
[2] http://www.w3.org/WAI/PF/aria-implementation/#mapping_special_te
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=453417
[4] http://lists.w3.org/Archives/Public/wai-xtech/2009Jun/0099.html
Related Actions Items:
Related emails:
No related emails

Related notes:

A couple of other notes:

1. There is an implied principled reason (heuristic?) for choosing between label and labelledby. If the text for the label is already present as content in the document, use labelledby. If there is a need to not the text as content, then use label.

2. There is a related issue, 319 [1], about the presence of both aria-label and aria-labelledby.

[1] http://www.w3.org/WAI/PF/Group/track/issues/319
[2] http://lists.w3.org/Archives/Public/public-pfwg-comments/2009AprJun/0073.htm

Joseph Scheuhammer, 2 Jul 2009, 14:25:25

When Action 548 and 549 are completed this issue is resolved.

Richard Schwerdtfeger, 30 Nov 2009, 15:57:17

The UAIG has now been rolled back to use the algorithm in the February draft. Some of the original errors have been corrected.

The UAIG now agrees with the spec that aria-label should be given precedence. David is reviewing it to ensure that the algorithm per the spec to ensure that everything else is in agreement.

Andi Snow-Weaver, 2 Dec 2009, 16:55:28

Closed Jan. 4, 2010. December 2009 drafts reflected consistency.

Richard Schwerdtfeger, 4 Jan 2010, 15:39:55

Display change log ATOM feed


Joanmarie Diggs <jdiggs@igalia.com>, James Nurthen <nurthen@adobe.com>, Chairs, Michael Cooper <cooper@w3.org>, Ruoxi Ran <ran@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $