Bug 194388

Summary: Web Inspector: AXI: Audit: Banner test is throwing spurious errors on valid HTML with multiple <header> elements
Product: WebKit Reporter: James Craig <jcraig>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: aaron_chu, bburg, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on: 194005    
Bug Blocks:    

James Craig
Reported 2019-02-07 03:18:55 PST
The multiple banners test is flagging <header> elements (which resolve to banner) and throwing spurious errors. These are valid HTML with no explicit role, so this should not throw an error. Found on NYT main page.
Attachments
Radar WebKit Bug Importer
Comment 1 2019-02-07 09:08:27 PST
Aaron Chu
Comment 2 2019-02-11 13:04:04 PST
The specs sets out to avoid a confusing experience where multiple banners are in one document that are announced by AT as navigational elements. If headers resolve into banners, then they should be flagged to warn developers of the same scenario the specs attempts to avoid. Perhaps instead of an error, this can change to a warning. In the explanation, it should also state that multiple header/banner is only valid when each of them is properly labelled.
Note You need to log in before you can comment on or make changes to this bug.