• Resolved luther

    (@lutheradams)


    I am using the weglot shortcode in my nav menu with 2 languages in a dropdown.

    On page load the aside has these classes class="country-selector weglot-dropdown close_outside_click weglot-shortcode"
    and aria-expanded="false"
    When I click the <aside> the dropdown opens and a class of closed is added to the aside, and the aria-expanded remains false.

    If I use tab navigation on page load, I navigate to the aside using tab and press enter, the dropdown appears and the aria-expanded does update to show true, but if I press enter again the dropdown closes, but the aria-expanded label remains true when it should say false.

    This needs to be fixed for our site to pass accessibilty checks, thank you.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Edson Galina Fortes

    (@glx77)

    hi @lutheradams ,
    hope you’re fine ? Sorry for the issue you’re facing.
    On my side I’m not able to reproduce your issue (cf video here : https://www.loom.com/share/2816cb503b1c4dbc8eb8c7ce637c80fc)

    May I not not understand how to reproduce your issue? I’ve no access to you’re website : http://currently%20in%20development/

    Can you send me another website where I can check your issue ?

    Regards

    Thread Starter luther

    (@lutheradams)

    Thank you for your reply.

    I am displaying the weglot dropdown in my header using
    <div id="weglot_here"></div>.

    When using a mouse and the dropdown is visible aria-expanded=false and .closed class is used.

    When using TAB to open and close the dropdown aria-expanded is always true, even when the dropdown is closed.

    Plugin Contributor Edson Galina Fortes

    (@glx77)

    Hi @lutheradams ,

    ok I can reproduce on my side, thank you very much for the feedbacks. An issue is open on our side and a fix should be deploy on our next release (plan for the next week)

    Regards

    Plugin Contributor Edson Galina Fortes

    (@glx77)

    Hi @lutheradams ,

    hope you’re fine, we’ve just deploy a 4.0.2 version of the plugin with the fix.
    Thanks again for your feedbacks, it’s help 😉

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘aria-expanded not working as expected’ is closed to new replies.