Bug 130364 - AX: If a list is a layout list, all its listitem children should lose their ListItemRole
Summary: AX: If a list is a layout list, all its listitem children should lose their L...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-03-17 14:53 PDT by James Craig
Modified: 2014-03-18 15:54 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Craig 2014-03-17 14:53:55 PDT
The layout list code seems to be set up so that a listitem can lose its ListRole if it's determined to be a layout list or presentational, but the <li> children retain their ListItemRole in all cases. This makes the DOM accessibility tree to have an ignored or generic group with listitem children. The main nav on Apple.com is currently an example of this.
Comment 1 James Craig 2014-03-17 14:57:11 PDT
Sorry. http://store.apple.com demos the issue. The Apple.com should probably count too though. They add role="navigation" to the list, which should override all the list semantics unless they were to use it on an element container ancestor of the list.
Comment 2 Radar WebKit Bug Importer 2014-03-18 15:54:24 PDT
<rdar://problem/16360525>