Summary: | AX: Update list heuristics to include linked lists inside navigation containers | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | James Craig <jcraig> | ||||||
Component: | Accessibility | Assignee: | chris fleizach <cfleizach> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | aboxhall, apinheiro, cfleizach, dmazzoni, ews-watchlist, jdiggs, liamgutierrez73, marco.zehe, pgrucza, samuel_white, webkit-bug-importer, zalan | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
James Craig
2019-01-12 10:56:19 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. The request to "allow list" ULs inside NAV has come up again recently. It seems like a reasonable change that would appease many web developers. Could be allowing all lists inside nav: An unstyled list: <ul style="list-style:none"><!-- Still a list --> …that is inside any nav: <nav> or <el role="navigation"> …with or without other elements in between (e.g. descendant lists... not limited to direct children) <nav> <div><!-- in-betweeners okay --> <ul style="list-style:none"> If that results in some false positives, it could be limited to link lists inside navs. <nav> <div><!-- in-betweeners okay --> <ul style="list-style:none"> <li><a href="https://www.apple.com/">Apple</a></li> <!-- only link lists? --> <li><a href="https://www.webkit.org/">WebKit</a></li> </ul> </div> </nav> Created attachment 416299 [details]
patch
Created attachment 416313 [details]
patch
Committed r270896: <https://trac.webkit.org/changeset/270896> All reviewed patches have been landed. Closing bug and clearing flags on attachment 416313 [details]. |