Ir al contenido Ir a la barra lateral

Etiquetado: 

Este tema contiene 0 respuesta, tiene 0 voces.

Última actualización por ezekielB hace 6 días, 10 horas.

Asistido por: Bigul.

Autor Publicaciones
julio 15, 2025 a las 5:55 pm #17239162

ezekielB

Background of the issue:
I’m developing a custom WordPress theme called 'Compliance Lab' that demonstrates WCAG 2.2 accessibility compliance. During accessibility testing using Axe DevTools, I encountered an issue with an automatically-injected WPML element: . It’s not inside any landmark, and I cannot locate where to control its output. Even after removing all calls to wpml_add_language_selector() and clearing the cache, it continues to appear in the page body. I haven’t disabled the language switcher in WPML → Languages.

Symptoms:
All page content should be contained by landmarks. The issue comes from the automatically-injected WPML element that is not inside any landmark.

Questions:
How can I disable this automatic footer injection?
How can I programmatically control the output of the WPML footer content so I can place it within a nav or footer landmark manually?