Pular para o conteúdo Pular para a barra lateral

Marcado: 

Este tópico contém 0, tem 0 vozes.

Última atualização: ezekielB 1 dia, 3 horas atrás.

Assistido por: Bigul.

Autor Postagens
julho 15, 2025 às 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?