Merge pull request #8627 from demarches-simplifiees/a11y-8558-cartography-fix

a11y : update label button Closes #8627
This commit is contained in:
Julie Salha 2023-02-14 14:36:06 +01:00 committed by GitHub
commit f4fc0ab187
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,9 +41,11 @@ export function PointInput() {
type="button"
className="button mr-1"
onClick={getCurrentPosition}
title="Localiser votre position"
title="Afficher votre position sur la carte"
>
<span className="sr-only">Localiser votre position</span>
<span className="sr-only">
Afficher votre position sur la carte
</span>
<LocationMarkerIcon className="icon-size-big" aria-hidden />
</button>
) : null}