-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(react): improve accessibility with targeted
:focus-visible
foc…
…us styles for non-pointer devices (#796) * feat: implement `:focus-visible` for the Tree component with targeted focus style for non-pointer devices * feat: implement `:focus-visible` for the Menu component with targeted focus style for non-pointer devices * feat: implement `:focus-visible` for the Switch component with targeted focus style for non-pointer devices * feat: remove the `type` attribute from `SwitchControlBox` * feat: implement `:focus-visible` for the Checkbox component with targeted focus style for non-pointer devices * feat: implement `:focus-visible` for the Radio component with targeted focus style for non-pointer devices * chore: code prettify * feat: implement `:focus-visible` for the Tabs component with targeted focus style for non-pointer devices * feat: utilize `outline` instead of `box-shadow` for `:focus-visible` pseudo-style rendering * feat: implement `:focus-visible` for close button components with targeted focus style for non-pointer devices * feat: implement `:focus-visible` for the Button component with targeted focus style for non-pointer devices * docs: update examples in button, button-group, and button-link * feat: only use `aria-selected` with these roles: `option`, `tab`, `menuitemradio`, `treeitem`, `gridcell`, `row`, `rowheader`, and `columnheader` * feat: implement `:focus-visible` for the Pagination component with targeted focus style for non-pointer devices * feat: apply same `:focus-visible` style to secondary variant button for consistency * docs: apply :focus-visible style to icon button components
- Loading branch information
Showing
61 changed files
with
2,584 additions
and
2,074 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.