I found the offender in chrome://flags
. I had this enabled:
After disabling it, the div
isn’t get focused anymore.
I found the offender in chrome://flags
. I had this enabled:
After disabling it, the div
isn’t get focused anymore.
If you navigate to https://basis.now.sh and hit Tab 3 times, you’ll notice that the div that contains the sidebar navigation becomes focused (or the document.activeElement
).
Looking at the HTML, there is no special attributes like tabindex
on the div
.
What causes this div
to become focusable, and how would you make it non-focusable?
Tested on:
Hm, for me, using chrome 83.0.4103.106, macOS 10.15.2 the playground link is focused and not the entire div
maybe it’s a chrome extension causing this to happen (for some reason). Do you get the same behaviour in incognito mode (with no extensions enabled?)
Just tried in Incognito and also disabled all the extensions, and still I have to Tab 4 times to focus on Playground.