Keyboard Interface: List which operable elements (should) respond to SPACE, and which to ENTER #2447
Labels
enhancement
Any addition or improvement that doesn't fix a code bug or prose inaccuracy
Feedback
Issue raised by or for collecting input from people outside APG task force
Practice Page
Related to a page within the practices section of the APG
The default "Space to scroll" behavior sometimes comes as a surprise when a hyperlink is in focus, especially to developers who have limited experience with keyboard interaction, but this is not mentioned in the link practice doc.
Similarly it's far from obvious that radio buttons and switches aren't necessarily expected to respond to Enter, although this behavior at least is mentioned as "optional" in the radio button and switch docs. (Are there other outliers?)
I'm not going to get into whether responding to either or both keys is right or wrong. I'm calling for any differences in default activation key to be documented clearly in the page about keyboard operation. There's a lot of info about focus (which is great), but almost nothing about activation.
Can we please add this info in an at-a-glance form (e.g. brief list or table) to https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/ which is likely to be where people will look for such info.
The text was updated successfully, but these errors were encountered: