Skip to content

Commit 6e44d78

Browse files
authored
ActionList v2 Divider: Make divider aria-hidden (#1757)
* Add aria-hidden to divider * Create stupid-bikes-look.md
1 parent e051a20 commit 6e44d78

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/stupid-bikes-look.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
ActionList v2 Divider: Make divider aria-hidden

src/ActionList2/Divider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const Divider: React.FC<SxProp> = ({sx = {}}) => {
1212
return (
1313
<Box
1414
as="li"
15-
role="separator"
15+
aria-hidden="true"
1616
sx={merge(
1717
{
1818
height: 1,

0 commit comments

Comments
 (0)