Bug 210210

Summary: AX: "Skip to Main Content" navigation broken on US Census site.
Product: WebKit Reporter: James Craig <jcraig>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Status: NEW    
Severity: Normal CC: aboxhall, apinheiro, cfleizach, dmazzoni, ews-watchlist, jdiggs, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
DOM tree screen cap showing bug
none
patch
none
patch
none
patch
none
patch none

James Craig
Reported 2020-04-08 12:27:32 PDT
Created attachment 395853 [details] DOM tree screen cap showing bug "Skip to Main Content" navigation broken on US Census site. https://my2020census.gov The skip link is nulled (“#”) and then they call a JavaScript function to focus an aria-hidden, yet focusable, empty span. No surprise this technique doesn’t work (who would do this?) but I think it might be a WebKit bug nonetheless. If focus is moved to a node that is rendered, but hidden via @aria-hidden, WebKit should invalidate the use of aria-hidden on the node or its ancestor node. ARIA 7.2 Tree Inclusion https://rawgit.com/w3c/aria/master/#tree_inclusion "…user agents MUST provide an accessible object in the accessibility tree for DOM elements that…are focusable…"
Attachments
DOM tree screen cap showing bug (71.49 KB, image/png)
2020-04-08 12:27 PDT, James Craig
no flags
patch (6.97 KB, patch)
2020-04-15 22:18 PDT, chris fleizach
no flags
patch (6.97 KB, patch)
2020-04-15 22:19 PDT, chris fleizach
no flags
patch (6.91 KB, patch)
2020-04-18 00:02 PDT, chris fleizach
no flags
patch (6.90 KB, patch)
2020-04-18 00:05 PDT, chris fleizach
no flags
Radar WebKit Bug Importer
Comment 1 2020-04-08 12:27:52 PDT
chris fleizach
Comment 2 2020-04-15 22:18:45 PDT
chris fleizach
Comment 3 2020-04-15 22:19:42 PDT
Joanmarie Diggs
Comment 4 2020-04-17 09:13:11 PDT
The change makes sense to me but it looks like some additional tests may be in need of updating/rebasing.
chris fleizach
Comment 5 2020-04-18 00:02:35 PDT
chris fleizach
Comment 6 2020-04-18 00:05:19 PDT
Note You need to log in before you can comment on or make changes to this bug.