• 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)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘aria-expanded not working as expected’ is closed to new replies.