Bug 130364

Summary: AX: If a list is a layout list, all its listitem children should lose their ListItemRole
Product: WebKit Reporter: James Craig <jcraig>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

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>