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

Commit

Permalink
Setter aria-hidden på ikon for type driftsmelding (ren visuell ting)
Browse files Browse the repository at this point in the history
  • Loading branch information
PerOlavM committed Jun 12, 2023
1 parent 37b9388 commit 765ab29
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 765ab29

Please sign in to comment.