Title: WordPress admin menus :hover functionality
Last modified: August 22, 2016

---

# WordPress admin menus :hover functionality

 *  [ohnoezmahblog](https://wordpress.org/support/users/ohnoezmahblog/)
 * (@ohnoezmahblog)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/wordpress-admin-menus-hover-functionality/)
 * Hey All,
    I was noticing that the WordPress admin menu handles touch vs. hover
   events very elegantly– if you hover over an element it expands the submenu, and
   then you can click with a mouse to go to that link. Or if you touch it it will
   expand (but not follow the link), and then if you touch it again it will go to
   that link, or if you touch elsewhere it will collapse the submenu.
 * I can’t quite figure out how it’s implementing that– but it seems to work better
   than the hover submenus touch functionality I coded, so I’d like to know how.
   I notice that it has the `aria-haspopup="true"` property, is that it?
 * thxthx!

Viewing 1 replies (of 1 total)

 *  Thread Starter [ohnoezmahblog](https://wordpress.org/support/users/ohnoezmahblog/)
 * (@ohnoezmahblog)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/wordpress-admin-menus-hover-functionality/#post-5615044)
 * Update: using `aria-haspopup="true"` works quite nicely for IE10+, but from my
   fiddling it seems that it must be doing something else for Chrome…

Viewing 1 replies (of 1 total)

The topic ‘WordPress admin menus :hover functionality’ is closed to new replies.

## Tags

 * [hover](https://wordpress.org/support/topic-tag/hover/)
 * [touchscreen](https://wordpress.org/support/topic-tag/touchscreen/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 1 participant
 * Last reply from: [ohnoezmahblog](https://wordpress.org/support/users/ohnoezmahblog/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/wordpress-admin-menus-hover-functionality/#post-5615044)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
