Skip to content

Commit

Permalink
Merge branch 'mp/inactive-button-a11y-updates' of https://github.com/…
Browse files Browse the repository at this point in the history
…primer/view_components into mp/inactive-button-a11y-updates
  • Loading branch information
mperrotti committed Nov 15, 2023
2 parents 4198eb4 + 924f9bc commit 612d48c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .changeset/lovely-suits-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@primer/view-components": patch
---

Updates 'inactive' state for buttons based on feedback from the a11y team:
- inactive buttons need to meet the color contrast ratio minimum
- inactive buttons shouldn't have aria-disabled since they can still accept interactions such as:
- hover/focus to show a tooltip
- click/activate to show a dialog with more detailed info on why it's inactive

<!-- Changed components: Button -->
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 612d48c

Please sign in to comment.