You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Behavior :
Some informative image contain text in foreign language.
If we follow the WCAG/RGAA/RAWeb1 rules, the alternative text should contain at least the visible texte of the informative image.
But for the moment, in the image component, we can't define a language for the alternative text.
This aims to cause that the image alternative is not well rendered to assistive tool (like the NVDA screen reader)
Expected behavior/code :
We should be able to add a lang attribute for each image.
Feature Request
Current Behavior :
Some informative image contain text in foreign language.
If we follow the WCAG/RGAA/RAWeb1 rules, the alternative text should contain at least the visible texte of the informative image.
But for the moment, in the image component, we can't define a language for the alternative text.
This aims to cause that the image alternative is not well rendered to assistive tool (like the NVDA screen reader)
Expected behavior/code :
We should be able to add a lang attribute for each image.
Environment
Possible Solution :
Add a lang attribute on the 'img' tag based on the language defined in the "advanced" tab of the asset property
Additional context :
WCAG 2.1 : Technique H37 (https://www.w3.org/WAI/WCAG21/Techniques/html/H37)
WCAG 2.1 : 3.1.2 Language of Parts (https://www.w3.org/WAI/WCAG21/Understanding/language-of-parts)
WCAG 2.1 : Technique H58 (https://www.w3.org/WAI/WCAG21/Techniques/html/H58)
RGAA 4.1.2 / RAWeb 1 : 8.7.1 https://accessibilite.public.lu/en/raweb1/criteres.html#test-8-7-1
RGAA 4.1.2 / RAWeb 1 : 1.1.1 https://accessibilite.public.lu/en/raweb1/criteres.html#test-1-1-1
The text was updated successfully, but these errors were encountered: