HennepinCounty / ed-hcds-components

ed-hcds-components contains accessible code for building a user interface for Hennepin County digital products.
https://www.hennepin.us/design-system
MIT License
4 stars 0 forks source link

A11y fixes to button component #3

Open SusannahHarris-HC opened 9 months ago

SusannahHarris-HC commented 9 months ago

The disabled button needs some additional coding so that it is perceivable by screen readers. It will need corresponding JS to toggle whether or not the button is aria-disabled true or false.
Here is some great documentation on how to implement aria-disabled=true as well as the JS function needed. We do not need the disabled button for Chad, but we will need the disabled button updated at your earliest convenience.