Skip to content

Commit

Permalink
fix: remove redundant role attribute from divider
Browse files Browse the repository at this point in the history
  • Loading branch information
segunadebayo committed Mar 24, 2021
1 parent a8a841b commit 1d85e47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/chatty-students-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chakra-ui/layout": patch
---

Fix: remove redundant role attribute from divider
1 change: 0 additions & 1 deletion packages/layout/src/divider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export const Divider = forwardRef<DividerProps, "hr">((props, ref) => {
return (
<chakra.hr
ref={ref}
role="separator"
aria-orientation={orientation}
{...rest}
__css={{
Expand Down

1 comment on commit 1d85e47

@vercel
Copy link

@vercel vercel bot commented on 1d85e47 Mar 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.