Descoped prerequisite: T257075: Simplify the checkboxHack API
Current checkbox hack in action on latest Vector doesn't react to <Enter> or <Space>.
This should toggle the checkbox too.
Acceptance Criteria
- Label that behaves as button is triggerable
- With JavaScript enabled, Sidebar shows/hides in when focused and the <Enter> key is pressed or the <Space> key is released
- With JavaScript disabled and before the asynchronous JS is loaded, the Sidebar continues to show/hide in response to clicking the sidebar button, but does not react on keypress
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T254851#6335131 |
| 2 | ✅ | T254851#6335131 |
| 4 | ✅ | T254851#6335131 |
QA additional notes
-
Holding the <Enter> key only changes the Sidebar state once, not repeatedly
It's been agreed on that we remove this edge case from the acceptance criteria in T254851#6349847
QA Results - Prod
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T254851#6363104 |
| 2 | ✅ | T254851#6363104 |
| 4 | ✅ | T254851#6363104 |







