When scanning slimmedicine.com trough https://pagespeed.web.dev/ you will find the accessibility issue both in Mobile and Desktop in the “WPML Languages” widget which is in the Woodmart header builder.
Accessibility issue:
Image elements have [alt] attributes that are redundant text.
This issue is happening when you show the FLAG icon in the language switcher, because the ALT for the flag will be exactly same text as the Title “English” which is showing duplication and that’s why the error is showing.
Suggestion:
The ideal is to change the ALT from English to English Language, or to EN or anything rather than the text to prevent the duplication.
I appreciate if you can create a patch for this issue, or alternatively, provide me with an Snippet to solve this matter.
Please note that I currently removed the FLAG icon in my website so the accessibility issue is disappeared. it will appear again if I add the Flag icon into the language switcher.
Attachments:
You must be
logged in to view attached files.