Skip to content

Commit

Permalink
♿ Skjuler dekorativt ikon for skjermlesere
Browse files Browse the repository at this point in the history
Ikonet på slett-knappen ble lest opp som et eget element.
  • Loading branch information
steoiv committed May 14, 2024
1 parent 346ffaf commit bba39ef
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,7 @@ const UtenlandsOppholdTabell = ({
}
}}
onClick={() => remove(utenlandsPeriode.id)}
icon={
<Delete
className={styles.deleteIcon}
title={'Slett utenlandsopphold'}
role={'button'}
tabIndex={0}
/>
}
icon={<Delete className={styles.deleteIcon} aria-hidden />}
iconPosition={'left'}
>
Fjern
Expand Down

0 comments on commit bba39ef

Please sign in to comment.