Rob Dodson
Rob Dodson
Also want to share a link to a comment to something somewhat related: https://github.com/WICG/focus-visible/pull/64#issuecomment-363877207
bah! I realized the PR only solves the issue if a keyboard was used. Gotta think a bit more how to do this for a mouse...
> Yep. That's why I proposed to only exclude focuses following a pointer event (mousedown, touchstart, ...) instead of looking for those following a keyboard event. Yeah I'm not sure...
i think i have a fix for this...
After talking with Alice and Marcy about this, I think we arrived at a bit of an impasse. To recap, Option 1: If a user mouse clicks (or touches) something...
Hey @michax, we currently turn on focus-visible anytime a user presses any keyboard key. Our thinking is that this is a signal that the user is in "keyboard mode." Can...
I agree that it may be a bit aggressive. @alice and I were chatting about it this past week. It's unclear (to me at least) if the current behavior was...
> in other words the focus should be visible only if it was before opening a dialog. I definitely understand the dilemma. The issue is that I'm not sure how...
@saschanaz can you tell me what's the negative impact of showing the focus indicator if the user pressed escape to close the dialog?
hey @christian-bromann, i appreciate the work but am not sure if I'll have the time to review it all... The polyfill is quite stable and I haven't been spending many...