Skip Navigation

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

Problem:
The client is experiencing accessibility issues with the language switcher on their website, as indicated by the PageSpeed Insights test.
Solution:
We acknowledge an existing internal development ticket regarding this issue, but we cannot provide a specific timeline for its resolution. We suggest adding an

aria-label

attribute with a descriptive name to the language switcher link to improve accessibility, like so:

<a href="https://www.spotix.app/he/spots/..." class="wpml-ls-link" aria-label="Descriptive Name of the Link"></a>

Additionally, we recommend checking the following documentation for a potential workaround regarding missing alt tags for flag images in the language switcher:
Missing alt tag for flag image in a language switcher

If this solution does not seem relevant to your issue, please open a new support ticket with us.

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.

This topic contains 10 replies, has 2 voices.

Last updated by Bruno Kos 8 months, 3 weeks ago.

Assisted by: Bruno Kos.

Author Posts
January 10, 2024 at 4:30 pm #15170281

doronY

you can se the problem here also
hidden link

in the accesability rest, the langiage switcher is making the problem

צילום מסך 2024-01-10 ב-18.27.49.png
January 11, 2024 at 6:49 am #15172293

doronY

?

January 11, 2024 at 8:56 am #15172817

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

Hi,

Thank you for contacting WPML support!

Can you please provide us with the debug information, so that we can get a better idea of your setup?

https://wpml.org/faq/provide-debug-information-faster-support/

If not yet the case, make sure to have the latest updates already installed.

https://wpml.org/account/downloads/

Please do the above and let us know if the issue is still happening.

Regards,
Bruno Kos

January 11, 2024 at 9:18 am #15172954

doronY

sure

January 11, 2024 at 9:19 am #15172957

doronY

i use the latest version

January 11, 2024 at 12:11 pm #15174249

doronY

any news?
please dont leave me to the weekend 🙂

January 11, 2024 at 1:02 pm #15174593

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

I see that we have an internal development ticket for this, but I can't say when and how will this be implemented.

I suppose that this would pass these tests?

<a href="<em><u>hidden link</u></em>" class="wpml-ls-link" aria-label="Descriptive Name of the Link"></a>
January 11, 2024 at 1:36 pm #15174869

doronY

you sent a brocken link and I didnt get you
Do you have a solution? Do you understand the problem?

January 11, 2024 at 2:37 pm #15175208

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

I understand the problem, but have no solution to offer at this point.

I see that we have an internal development ticket for this, but I can't say when and how will this be implemented.

January 11, 2024 at 3:02 pm #15175334

doronY

ok, can. you push it please?
this is something that must be to make the site accesible

January 11, 2024 at 3:43 pm #15175721

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

I cannot push anything, development team decides about this based on the number of cases, other priorities, etc.

You can check this in the meantime, perhaps it helps:
https://wpml.org/errata/missing-alt-tag-for-flag-image-in-a-language-switcher/

January 13, 2024 at 8:31 am #15181133

doronY

it helped, thank you!

doronY confirmed that the issue was resolved on 2024-01-13 08:31:04.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.