[Resolved] Include Aria-label

Home Forums Support [Resolved] Include Aria-label

Home Forums Support Include Aria-label

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1417795
    jose

    Hi! I added manually <button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false" aria-label="top left"> in inc/structure/navigation.php

    How can I use it from child theme?
    In my child theme I create inc/structure/navigation.php but doesnt work. THX

    #1417854
    Leo
    Staff
    Customer Support

    Hi there,

    WordPress only allows the first level file to be overwritten in the child theme so that method won’t work.

    The mobile toggle doesn’t have a filter at the moment, unfortunately. However, it does have a screen-reader-text element so screen readers can identify it:
    https://generatepress.com/forums/topic/need-to-add-this-to-the-tag/#post-1397467

    #1417900
    jose

    Perfect

    #1417986
    Leo
    Staff
    Customer Support

    Awesome 🙂

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