Skip to content

Commit

Permalink
ActionList v2 Divider: Make divider aria-hidden (#1757)
Browse files Browse the repository at this point in the history
* Add aria-hidden to divider

* Create stupid-bikes-look.md
  • Loading branch information
siddharthkp committed Jan 4, 2022
1 parent e051a20 commit 6e44d78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/stupid-bikes-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

ActionList v2 Divider: Make divider aria-hidden
2 changes: 1 addition & 1 deletion src/ActionList2/Divider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const Divider: React.FC<SxProp> = ({sx = {}}) => {
return (
<Box
as="li"
role="separator"
aria-hidden="true"
sx={merge(
{
height: 1,
Expand Down

0 comments on commit 6e44d78

Please sign in to comment.