We get a lot of issues surrounding perceived "bugs" when elements are focused for keyboard and screen reader users (dialogs, sidenavs, bottom sheets). We already have solutions in place to manage the display of persistent focus on click (read Button Focus Hell), but nothing for focus management. Is there a way we can focus on elements on open/close without having these issues continue to pour in? Do we simply focus when the keyboard is being used and not the mouse, or does that leave out users who seamlessly switch between modalities? Or, can we continue to focus on elements without showing the focus style for mouse users only?
We get a lot of issues surrounding perceived "bugs" when elements are focused for keyboard and screen reader users (dialogs, sidenavs, bottom sheets). We already have solutions in place to manage the display of persistent focus on click (read Button Focus Hell), but nothing for focus management. Is there a way we can focus on elements on open/close without having these issues continue to pour in? Do we simply focus when the keyboard is being used and not the mouse, or does that leave out users who seamlessly switch between modalities? Or, can we continue to focus on elements without showing the focus style for mouse users only?
CSS Input Modality: http://radar.oreilly.com/2015/08/proposing-css-input-modailty.html
Prollyfill: https://github.com/alice/modality
Related: #4945 #3525