Open rachidatecs opened 9 months ago
@AnnaGingle have you looked at this ticket? Is there any insights that you can give off the top of your head for better approaches and that we should capture here?
Added "refinement" tag, this is pending @AnnaGingle to review ticket and add insight as needed cc: @Katherine-Osos
Best practices:
Issue description
We want to make sure our pattern of showing 'disabled' buttons follows best accessibility practices.
Currently, we are using this markup on the domain managers page:
We know buttons with a disabled attribute are not ideal, but are they better than an anchor with no href?
What about a simple span with an aria-label and or title?
Acceptance criteria
Additional context
The literature states that if an action is disabled, do not show it. We think that in the context of our app, it makes sense to have an indication of the disabled action that's both visual and accessible.
Suggest reaching out to Aaron who may be able to shortcut our research.
Links to other issues
1484
Relates to #1917