Skip to content

Make disabled Button readable by screen readers

Compare
Choose a tag to compare
@nats12 nats12 released this 07 May 09:43
a2870c1

By swapping out disabled for aria-disabled and manually handling the onClick event, users making use of screen readers are now able to tab through the button when in a disabled state and have its status read out to them.