Add Attribute to Top Level Menus
Hi there! I’m trying to make my drop-down navigation menus more accessible (okay, accessible at all) from a touch device like an iPad or Surface tablet.
Since these are based on CSS a:hover for displaying the submenu, I’ve been researching easy fixes. One I’d like to implement is adding the following attribute to the li
This causes modern browsers to allow for hover when the user touches the element on a tablet computer.
However, I have no idea how to add this.
- The topic ‘Add Attribute to Top Level Menus’ is closed to new replies.