WAIT: Polylang Language switcher duplicate id

Hello.
I use Polylang Language switcher element in header and footer. I found out that it has the same form ID:

id=“lang_choice_1”

And I’m getting errors in Devtools. How can it be fixed?
Thanks

Hi,

under the hood, we just use the pll_the_languages function (from Polylang), which will render the Polylang language switcher dropdown.

I’m not sure if we can change the outputted IDs.

Matej

Yes, I know that this element built using the Polylang function. Don’t you plan to update that element with own HTML/JS or so? We need the control of dropdown list, flag icons, mobile language switcher.
Polylang is a popular plugin but the language switcher has accessibility and form ID issues.
Thanks

Hey,

as far as I know, not in an immediate feature.

Matej