RESOLVED FIXED211109
Web Inspector: Debug: "Outline focused element" should also outline elements with tabIndex=0
https://bugs.webkit.org/show_bug.cgi?id=211109
Summary Web Inspector: Debug: "Outline focused element" should also outline elements ...
Nikita Vasilyev
Reported 2020-04-27 18:00:01 PDT
Created attachment 397775 [details] [Image] With patch applied Outlining elements with tabIndex=0 helps me to see what's tabbable and what isn't. It saves me time tabbing back and forth between elements.
Attachments
[Image] With patch applied (302.86 KB, image/png)
2020-04-27 18:00 PDT, Nikita Vasilyev
no flags
Patch (1.36 KB, patch)
2020-04-27 18:01 PDT, Nikita Vasilyev
no flags
Nikita Vasilyev
Comment 1 2020-04-27 18:01:57 PDT
Devin Rousso
Comment 2 2020-04-28 12:11:32 PDT
Comment on attachment 397776 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=397776&action=review r=me > Source/WebInspectorUI/UserInterface/Debug/Bootstrap.css:26 > +body.focus-debug [tabindex="0"] { Would it be worth having additional colors for `[tabindex="-1"]` and `[tabindex]:not([tabindex="-1"], [tabindex="0"])` as well?
Nikita Vasilyev
Comment 3 2020-04-28 15:36:34 PDT
Comment on attachment 397776 [details] Patch (In reply to Devin Rousso from comment #2) > Comment on attachment 397776 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=397776&action=review > > r=me > > > Source/WebInspectorUI/UserInterface/Debug/Bootstrap.css:26 > > +body.focus-debug [tabindex="0"] { > > Would it be worth having additional colors for `[tabindex="-1"]` and > `[tabindex]:not([tabindex="-1"], [tabindex="0"])` as well? I didn't find that particularly useful, personally.
EWS
Comment 4 2020-04-28 15:57:31 PDT
Committed r260853: <https://trac.webkit.org/changeset/260853> All reviewed patches have been landed. Closing bug and clearing flags on attachment 397776 [details].
Radar WebKit Bug Importer
Comment 5 2020-04-28 15:58:16 PDT
Note You need to log in before you can comment on or make changes to this bug.