Rob Dodson
Rob Dodson
> The code things I am a mouse user because NVDA is programmatically focusing the button and the key is not sent to the browser Do you happen to know...
I'd be interested in discussing how you'd like to implement this
This one comes up a lot. @marcysutton, @alice, what do y'all think? My hunch is if the user used a keyboard to close the modal (pressing escape or focusing the...
I think the way the polyfill works today (latest version, at least) is if the user closes the modal via a keyboard action, the next element to receive programmatic focus...
@OliverJAsh I think i found the issue. https://github.com/WICG/focus-visible/blob/master/src/focus-visible.js#L82-L88 That has a list of accepted keys for moving focus. I think we added that for a previous radio group issue. Let...
ah yes... the reason we limit it to a known set of keys is because folks were complaining that their web app's keyboard shortcuts (like cmd-b to open a sidebar...
Actually we may need to do some additional work to fully match what @Justineo was describing. If you use a mouse to click an element that calls focus on another...
> And recently I found that in Firefox and Safari, mouse clicks on s won't move the focus to them. Instead, after the clicks, document.activeElement remains to be (see here)....
Yeah I plan to ship a fix for this today. I was working on [another PR](https://github.com/WICG/focus-visible/pull/117) yesterday that I wanted to land first.
Hoping this PR fixes the issue: https://github.com/WICG/focus-visible/pull/118