Skip to content Skip to sidebar

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

Problem:
You are conducting SEO and accessibility scans and noticed that the flag images in the language-picker-widget are missing alt tags.
Solution:
We designed the Language Switcher without alt tags on the flag images intentionally. If you still need to add ALT text to these images, we recommend checking our detailed explanation and guidance on how to proceed. Please visit the following link for more information: 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 0 voices.

Last updated by Andrey 1 week, 2 days ago.

Assisted by: Andrey.

Author Posts
July 8, 2025 at 7:39 am #17212200

truongD-3

Background of the issue:
I'm doing SEO and accessibility scans on our site, and I noticed missing alt tags on the widget flag images.

Symptoms:
I expected to see alt tags in the flag images in the language-picker-widget, but instead, I got no alt tags.

Questions:
Can you add alt tags to the flagimages in a future release, please?
The issue can be seen on this page: hidden link

July 8, 2025 at 9:25 am #17212714

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

The missing ALT attribute on the flag images in the Language Switcher isn’t a bug—it’s by design.

For a more detailed explanation, and if you still need to add ALT text, please check the following link: https://wpml.org/errata/missing-alt-tag-for-flag-image-in-a-language-switcher/