harunG
Hello,
On the PageSpeed screen, I’m being told to define ARIA for the menu. I try to add it from Elementor → Advanced → Attributes, but it doesn’t work no matter what I do.
The markup generated by the plugin looks like this:
<li class="menu-item wpml-ls-slot-3 wpml-ls-item wpml-ls-item-en wpml-ls-current-language wpml-ls-menu-item wpml-ls-first-item menu-item-type-wpml_ls_menu_item menu-item-object-wpml_ls_menu_item menu-item-has-children menu-item-wpml-ls-3-en">
hidden link " role="menuitem" class="elementor-item">
<img …
how woud i solve this issue?
harunG
It seems that the issue is caused by the language switcher, and because an ARIA label cannot be added, PageSpeed is showing an accessibility error.
English
hidden link " role="menuitem" class="elementor-item">
Русский
hidden link " role="menuitem" class="elementor-item">
Français
hidden link " role="menuitem" class="elementor-item">
Português
hidden link " role="menuitem" class="elementor-item">
Español
hidden link " role="menuitem" class="elementor-item">
Deutsch
hidden link " role="menuitem" class="elementor-item">
العربية
hidden link " role="menuitem" class="elementor-item">
हिन्दी
hidden link " role="menuitem" class="elementor-item">
বাংলাদেশ
hidden link " role="menuitem" class="elementor-item">
Otto
WPML Supporter since 09/2015
Languages:
English (English )
Spanish (Español )
Timezone:
America/Argentina/Buenos_Aires (GMT-03:00)
Hello,
Thanks for reporting this. We are aiming to release a fix for this in WPML 4.9.
You can already give it a try with the beta version:
https://wpml.org/faq/how-to-install-beta-and-development-versions-of-wpml/
❌ Please make a full website backup before proceeding ❌
Let me know how it goes, please.
Best Regards,
Otto
harunG
Hello Otto, thank you very much for your reply.
When I switch to the beta version, I won’t experience any changes in translations or edits, right?
If it’s very risky and version 4.9 will be released soon, I can wait until then.
Otto
WPML Supporter since 09/2015
Languages:
English (English )
Spanish (Español )
Timezone:
America/Argentina/Buenos_Aires (GMT-03:00)
Hello,
If you don't have a staging environment, I suggest you to avoid switching to the beta version.
WPML 4.9, is expected (although I can't guarantee) to be released during the current month. So I suggest waiting for it.
Best Regards,
Otto
harunG
Hello Otto,
Yes, I completely agree with you. In that case, I will wait for the release of version 4.9.
I hope that this issue will be fully resolved with the new version. Thank you very much for the information and clarification.
Wishing you a pleasant weekend.
Best regards,
Harun
Otto
WPML Supporter since 09/2015
Languages:
English (English )
Spanish (Español )
Timezone:
America/Argentina/Buenos_Aires (GMT-03:00)
Thanks 🙂