• 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

    (@ohnoezmahblog)

    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.