Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1446 from navikt/fix-context-aria-roles
Browse files Browse the repository at this point in the history
Setter aria-hidden på ikon for type driftsmelding (ren visuell ting)
  • Loading branch information
PerOlavM authored Jun 12, 2023
2 parents b42ef04 + 765ab29 commit 3e575e8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ interface IconProps {

const Icon = (props: IconProps) => (
<>
{props.type === 'prodstatus' && <StatusSvg />}
{props.type === 'info' && <InfoSvg />}
{props.type === 'prodstatus' && <StatusSvg aria-hidden={true}/>}
{props.type === 'info' && <InfoSvg aria-hidden={true}/>}
</>
);

Expand Down

0 comments on commit 3e575e8

Please sign in to comment.