Skip to content

Commit

Permalink
fix(Disclosure): remove aria-label
Browse files Browse the repository at this point in the history
aria-label on disclosure was wiping out button text, this fixes that
  • Loading branch information
dreamwasp authored Aug 19, 2024
1 parent 2b4cdd4 commit ad9c44f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/gamut/src/Disclosure/DisclosureButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export const DisclosureButton: React.FC<DisclosureButtonProps> = ({
return (
<FlexBox>
<DisclosureButtonWrapper
aria-label={isExpanded ? 'Collapse Content' : 'Expand Content'}
aria-expanded={isExpanded}
onClick={handleClick}
width="100%"
Expand Down

0 comments on commit ad9c44f

Please sign in to comment.