Closed meirish closed 1 year ago
@meirish when an interactive icon is disabled, it is supposed to be ignored by assistive technology (AT).
From the addon: Most of the time, you shouldn't use this at all: prefer to provide feedback on form submission instead!
Maybe as a stopgap or a transitional phase?
Happy to discuss more if we think that a unified approach to forms in HC apps would be useful.
Outdated. Closing now.
This was in the most recent issue of ember times - the issue is that when a button is disabled, a screen reader can't focus it so it can't be read. This modifier https://github.com/chriskrycho/a11y-disabled-modifier uses aria attributes to implement an accessible pattern for disabling buttons.
We should look at adding this to
Pds::Button
when@disabled
is true.