Skip to content

Commit

Permalink
Update articles/components/button/index.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
vursen authored Jan 21, 2025
1 parent 89057ee commit fbebb65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion articles/components/button/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ endif::[]

=== Accessibility

While the default behavior effectively prevents accidental interactions, it has an accessibility drawback: screen readers skip disabled buttons entirely, and users can't see tooltips that might explain why the button is disabled. To address this, an experimental enhancement allows disabled buttons to receive focus and show tooltips, improving their accessibility. This feature can be enabled with the following feature flag:
While the default behavior effectively prevents accidental interactions, it has an accessibility drawback: screen readers skip disabled buttons entirely, and users can't see tooltips that might explain why the button is disabled. To address this, an experimental enhancement allows disabled buttons to receive focus and show tooltips, while still preventing other interactions. This feature can be enabled with the following feature flag:

[.example]
--
Expand Down

0 comments on commit fbebb65

Please sign in to comment.