Add new category form: more a11y improvements #2634
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Type] Enhancement
A suggestion for improvement.
Splitting this out from #2588, see #2572.
A couple improvements worth considering for the "Add new category" mini-form in the sidebar:
1
When adding a new category, the submit button gets disabled to avoid multiple submissions. Elements that have focus should never gets disabled. When using a keyboard and activating the button, it gets disabled (see
disabled={ adding }
) thus causing a focus loss. Ideally, the button should just noop. This applies to all other similar cases.2
Add a Speak message when a term is successfully added (maybe also on failure?)
The text was updated successfully, but these errors were encountered: