Skip to content

Commit 30d5069

Browse files
authored
fix:add-aria-hidden-to-display-svg (#202)
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>
1 parent 06a64cc commit 30d5069

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Display/Display.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export function Display() {
7676
</label>
7777
<div className={fr.cx("fr-radio-rich__img")}>
7878
<svg
79+
aria-hidden="true"
7980
xmlns="http://www.w3.org/2000/svg"
8081
//className={fr.cx("fr-artwork")}
8182
width="80px"

0 commit comments

Comments
 (0)