Skip to content

Commit

Permalink
♿ Accessible ExpansionCard-icon
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Mar 17, 2023
1 parent 3c66b00 commit c00112e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions @navikt/core/react/src/expansion-card/ExpansionCardHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ const ExpansionCardHeader: ExpansionCardHeaderType = forwardRef(
type="button"
aria-expanded={panelContext.open}
>
<span className="navds-sr-only">Vis mer</span>
<ChevronDownIcon className="navds-expansioncard__header-chevron" />
<ChevronDownIcon
className="navds-expansioncard__header-chevron"
title="Vis mer"
/>
</button>
</div>
);
Expand Down

0 comments on commit c00112e

Please sign in to comment.