Context
No response
Bug description
The color palette toggle looks like a button, and sighted keyboard users would expect to activate it using the Enter or Space keys. However, the toggle is not responding to those keys. Underneath, this is implemented as a set of radio buttons and is operated using the arrow keys. This is not evident to sighted keyboard users, who might think the "button" is not working.
Related links
Reproduction
9.5.16-color-palette-keyboard-operation.zip
Steps to reproduce
- Install Material for MkDocs, create a site with the minimal configuration, set the color palette toggle, serve Material for MkDocs, point your browser to localhost:8000.
- Use the Tab key to set the keyboard focus indicator on the color palette toggle.
- Hit Enter or Space to activate it.
Browser
No response
Before submitting
Context
No response
Bug description
The color palette toggle looks like a button, and sighted keyboard users would expect to activate it using the Enter or Space keys. However, the toggle is not responding to those keys. Underneath, this is implemented as a set of radio buttons and is operated using the arrow keys. This is not evident to sighted keyboard users, who might think the "button" is not working.
Related links
Reproduction
9.5.16-color-palette-keyboard-operation.zip
Steps to reproduce
Browser
No response
Before submitting