WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
213582
AX: elements with tabindex="-1" still appear in tab order in some circumstances
https://bugs.webkit.org/show_bug.cgi?id=213582
Summary
AX: elements with tabindex="-1" still appear in tab order in some circumstances
James Craig
Reported
2020-06-24 17:21:16 PDT
Created
attachment 402699
[details]
reduced test case Load attached test case and follow the instructions. This is a developer-reported bug noticed on a production site. They are trying to pull one item out of the focus loop and it works in all browsers except Safari.
Attachments
reduced test case
(1.74 KB, text/html)
2020-06-24 17:21 PDT
,
James Craig
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-06-24 17:21:26 PDT
<
rdar://problem/64729871
>
James Craig
Comment 2
2020-06-24 17:24:51 PDT
I forgot to mention that the behavior works as expected if you leave Safari and System FKA defaults to off. However, the test case is broken if you enable either of the following: - SysPrefs > Keyboard > Shortcuts > Use keyboard navigation... - Safari Prefs > Advanced > Press Tab to highlight... In any case, elements with tabindex="-1" should not appear in the tab loop.
Craig Kovatch
Comment 3
2020-06-24 20:45:25 PDT
Thanks for cutting this bug, James :) Just wanted to add some notes from my initial testing, where "buttons" is <button> elements, checkboxes is <input type="checkbox">, and links are <a href> 1. System FKA ON, Safari FKA ON, JS OFF - Tabbing skips the grid entirely - From a focused cell, tab visits buttons and checkboxes, and links 2. System FKA OFF, Safari FKA ON, JS OFF - Tabbing skips the grid entirely - From a focused cell, tab visits buttons and checkboxes, and links 3. System FKA ON, Safari FKA OFF, JS OFF - Tabbing skips the grid entirely - From a focused cell, tab visits buttons and checkboxes, not the links 4. System FKA OFF, Safari FKA OFF, JS OFF - Tabbing skips the grid entirely - From a focused cell, tab visits nothing
Daniel Dafoe
Comment 4
2023-07-17 14:36:58 PDT
Bumping this up since this can be reproduced on any product page on the Apple.com store that uses the Buy Flow Evolution design (e.g., iPhone). Each heading has tabindex="-1", so each are focused when tabbing through with FKA enabled. I haven't seen it mentioned yet for iOS, but this was raised for FKA on iOS in Safari. I am also able to reproduce in iOS 17 beta 3 Safari.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug