Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to optimize SEO and accessibility by expecting alt-tags for flag symbols SVGs, such as 'https://cdn.wpml.org/wp-content/plugins/sitepress-multilingual-cms/res/flags/de.svg', to improve SEO and accessibility.
Solution:
This is not an error but a design choice to enhance accessibility for screen readers. If you're experiencing this issue and looking for a workaround, we recommend checking the following documentation on our errata page: Missing alt tag for flag image in a language switcher.

Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Marcel 1 year, 7 months ago.

Assisted by: Marcel.

Author Posts
May 14, 2024 at 11:00 pm #15627263

michaelV-89

I am trying to: optimise SEO and accessebility

Link to a page where the issue can be seen: -

I expected to see: alt-tags used for the flag symbols svg (e.g.: /wp-content/plugins/sitepress-multilingual-cms/res/flags/de.svg), to improve SEO and accessebility

Instead, I got:

May 15, 2024 at 9:30 am #15628893

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

This is actually not an error; it was designed that way to increase accessibility for screen readers. You can find some more information and a workaround about it here: https://wpml.org/errata/missing-alt-tag-for-flag-image-in-a-language-switcher/

Best Regards
Marcel