[Support request] Need to add this to the tag

Home Forums Support Need to add this to the tag

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1397103
    Shrawan

    Hi,

    I need to add aria-label=”Mobile Menu” to the below tag in order to give an accessible name for the menu toggle. I couldn’t find it in the theme files.

    <button class=”menu-toggle” aria-controls=”mobile-menu” aria-expanded=”false”>.

    Please assist me on this. Thank you.

    #1397467
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    That element isn’t filterable, unfortunately.

    However, if you use the Mobile Menu Label option Customize > Layout > Primary Navigation and empty it, the theme will automatically add screen reader text inside of the element to make it accessible.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.