Bug 152663 - AX: incorrect accessible name from multiple label elements
Summary: AX: incorrect accessible name from multiple label elements
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-01-03 08:39 PST by Michiel Bijl
Modified: 2016-01-03 08:39 PST (History)
1 user (show)

See Also:


Attachments
Error message mechanism with multiple labels (1.24 KB, text/html)
2016-01-03 08:39 PST, Michiel Bijl
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michiel Bijl 2016-01-03 08:39:35 PST
Created attachment 268138 [details]
Error message mechanism with multiple labels

When multiple <label> elements are associated with a label-able element, the accessible name should be the product of the text content of each of the labels concatenated by DOM source order and space separated.

Expected result:
All associated label elements are used, in DOM order, for name calculation.

Actual result:
Only the first associated label element that is encountered in the DOM is used for name calculation.

Code example courtesy of Steve Faulkner.
Comment 1 Radar WebKit Bug Importer 2016-01-03 08:39:46 PST
<rdar://problem/24033482>