Skip to content

Commit

Permalink
fix:add-aria-hidden-to-display-svg (#202)
Browse files Browse the repository at this point in the history
As described in the doc and for accessibility purposes, the aria-hidden=true attribute was missing on the svgs in the display component

https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/parametre-d-affichage/

Signed-off-by: Julia Dirand <julia.dirand@gmail.com>
  • Loading branch information
jdirand authored Oct 16, 2023
1 parent 06a64cc commit 30d5069
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Display/Display.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export function Display() {
</label>
<div className={fr.cx("fr-radio-rich__img")}>
<svg
aria-hidden="true"
xmlns="http://www.w3.org/2000/svg"
//className={fr.cx("fr-artwork")}
width="80px"
Expand Down

0 comments on commit 30d5069

Please sign in to comment.