Merge pull request #11003 from demarches-simplifiees/a11y-improve-hint-restitution

ETQ usager, utilisant un lecteur d'écran je veux être informé du nombre de caractères restants ou en trop dans un textarea
This commit is contained in:
Corinne Durrmeyer 2024-11-05 10:01:20 +00:00 committed by GitHub
commit d61078d01a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 13 additions and 12 deletions

View file

@ -3,4 +3,4 @@ en:
attributes:
champs/decimal_number_champ:
hints:
value: "You can enter up to 3 decimal places after the decimal point. Example: 3.141"
value_html: "You can enter up to 3 decimal places after the decimal point. Example: 3.141"

View file

@ -3,4 +3,4 @@ fr:
attributes:
champs/decimal_number_champ:
hints:
value: "Vous pouvez saisir jusquà 3 décimales après le point. Exemple: 3.141"
value_html: "Vous pouvez saisir jusquà 3 décimales après le point. Exemple: <span aria-hidden='true'>3.141</span><span class='sr-only'>3 point 141</span>"