Bug 193382 - AX: Update list heuristics to include linked lists inside navigation containers
Summary: AX: Update list heuristics to include linked lists inside navigation containers
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: 2019-01-12 10:56 PST by James Craig
Modified: 2019-01-12 13:37 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Craig 2019-01-12 10:56:19 PST
AX: Update list heuristics to include linked lists inside navigation containers

There were a few Twitter threads recently about the WebKit behavior to distinguish unstyled layout lists from unstyled semantic lists. Generally, I still believe WebKit is correct to heuristically suppress list-itis from screen reader users, but we can make it better for authors by continuing to update these heuristics.

https://github.com/WebKit/webkit/blob/master/Source/WebCore/accessibility/AccessibilityList.cpp

The first actionable suggestion that came out of the discussion was to account for link lists that are descendants (not limited to direct children) of nav elements or role=navigation. Even single-item links seem fine to me.

Other suggestions were about styling (bg colors, etc.) like WebKit has for the data tables, but I didn't see anything actionable in that category yet. If I do, I'll file it as a separate bug tracker and try to link it here.
Comment 1 Radar WebKit Bug Importer 2019-01-12 10:56:36 PST
<rdar://problem/47233475>
Comment 2 chris fleizach 2019-01-12 13:37:32 PST
I agree that WebKit has correct behavior. If we were able to just create solutions knowing we had authors who used semantics and ARIA correctly then things would be easy. But in the real world, we need to focus on user needs, in this case it means doing something to make lists meaningful.