Archived topic
Include Aria-label
3 replies · Started by jose on August 25, 2020
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
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
Perfect
Awesome :)