Closed Bug 371167 Opened 17 years ago Closed 17 years ago

ARIA link role should create name from children

Categories

(Core :: Disability Access APIs, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: aaronlev, Assigned: aaronlev)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

When a <span role="wairole:link">Link content</span> gets focused, a screen reader needs to speak the link content. Therefore the name of the link should reflect the children.
Comment on attachment 255946 [details] [diff] [review]
Table entry change for link

Looks good. Nice small fix. Should the wiki also mention the labelledby case of eNameOkFromChildren?
Attachment #255946 - Flags: review?(david.bolter) → review+
Probably. Right now it just mentions that labelledby is a universal property. If you can think of a nicer, cleaner way to specify all that it'd be great. There are really just two cases for how name can be calculated:
1) Descendents can create the name
2) They can't

In both cases, labelledby and title are alternative ways to create the name. If I'm honest about it, I don't even remember which takes precedence. Probably labelledby, then title, then the children? The wiki should say that.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: