Open Bug 559750 Opened 14 years ago Updated 2 years ago

use HTML5 labels property to compute accessible name and relations for labelable HTML 5 controls

Categories

(Core :: Disability Access APIs, enhancement)

enhancement

Tracking

()

People

(Reporter: surkov, Unassigned)

References

(Blocks 2 open bugs, )

Details

(Keywords: access)

HTML5 defines labels property on labelable elements. Now we search the associated label element in tree. HTML5 labels allows us to get all label elements associated with elements. Hopefully it will be quicker than what we have now.

Also we could use it to expose labelled_by accessible relation.
Summary: use HTML5 labels property to compute accessible name for labelable HTML 5 controls → use HTML5 labels property to compute accessible name and relations for labelable HTML 5 controls
The same time we could start to use control property on label element to find associated form control (bug 562932).

This bug should be a fix for bug 366723.
Depends on: 562932, 366723
(In reply to alexander surkov from comment #0)
> HTML5 defines labels property on labelable elements. Now we search the
> associated label element in tree. HTML5 labels allows us to get all label
> elements associated with elements. Hopefully it will be quicker than what we
> have now.

Nowdays we don't search through the tree since we cache relations for attributes. But anyway it makes sense to keep code shared with content.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.