Skip to content

Commit

Permalink
Fix aria-hidden position for detailsCard button
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrucs committed Jul 8, 2024
1 parent e718492 commit 42804d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ export const DetailsCard: React.FC<DetailsCardProps> = ({
className="flex m-auto desktop:mr-0 items-center text-primary1 underline shrink-0 gap-1 self-end"
onClick={toggleTruncateState}
type="button"
aria-hidden
>
<span className="shrink-0">
<FormattedMessage
Expand All @@ -226,6 +225,7 @@ export const DetailsCard: React.FC<DetailsCardProps> = ({
'shrink-0 transition',
truncateState === 'TRUNCATE' ? 'rotate-90' : '-rotate-90',
)}
aria-hidden
/>
</button>
)}
Expand Down

0 comments on commit 42804d2

Please sign in to comment.