Service for handling keyboard vs. mouse focus behavior
See original GitHub issueCurrently, we always show a focus effect on the button component, when there was no mouse event the last 100ms
.
This is really hard-coded and there are bugs. For example, switching browser tabs, is restoring focus and showing the focus-effect (should not happen).
A service for interaction, which detects the last interaction type would solve that issue very elegant and would be also helpful for other components.
I also implemented that in Material 1 (still pending after re-submit) and I would like to implement it in Material 2 as well.
So let me know if you need this, and I will implement it 😃
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Focus & Keyboard Operability - Usability & Web Accessibility
Validating Keyboard Accessibility · Disable your mouse, and use just a keyboard. · Ensure that the focus order is intuitive and follows the...
Read more >Keyboard focus: Helping users navigate The Post without a ...
Keyboard focus : Helping users navigate The Post without a mouse. Imagine that you are in the middle of making a search on...
Read more >Keyboard Accessibility - WebAIM
When an item is tabbed to, it has keyboard "focus" and can be activated or manipulated with the keyboard. A sighted keyboard user...
Read more >Keyboard-Only Navigation for Improved Accessibility
For users who can't use a mouse make interactive and navigation elements easily accessible by tabbing and display a keyboard-focus indicator.
Read more >Differentiate between focus event triggered by keyboard/mouse
The only way I can think of doing this is to have a handler listen in on the keypress and click events, and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Having a service would be good. Feel free to put together a PR!
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.