Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Hover menus not working on mobile: how to find and fix it

PRF-170Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A hover menu is a navigation dropdown or mega menu that appears when a mouse pointer moves over a top-level item. It is usually built with the CSS :hover rule or a JavaScript mouseenter event.

Touch screens have no pointer to hover with. Some mobile browsers fake it: the first tap acts as a hover and the second tap follows the link. Others open nothing, or open the menu and then jump straight to the parent page. Either way, the links inside the submenu may never be reachable.

This is different from a hamburger menu that fails to open. Here the problem is desktop-width navigation, which shows up on tablets, large phones in landscape and touch laptops.

Why it costs you leads or sales

Important pages often sit inside dropdowns: services, pricing, product categories, booking, contact. If a visitor on a touch device can't open the dropdown, they can't reach those pages from the menu. Many will give up or leave rather than hunt for another route.

It also hurts keyboard and screen reader users, because hover-only menus often don't open on focus. That is an accessibility problem as well as a conversion problem.

Where a hover-only menu breaks the journey
  1. Landing pageVisitor arrives on a tablet
  2. Tap 'Services'Menu needs hover, nothing opens
  3. Pricing pageLink inside the dropdown is unreachable
  4. Contact formNever reached

The visitor lands fine, but the submenu never opens on touch.

Visitors who reach the pricing pageExample numbers
Visitors who reach the pricing page (example)Desktop (hover works): 30 %; Touch, hover-only menu: 12 %; Touch, tap-friendly menu: 28 %01223301228Desktop (hover works)Touch, hover-only menuTouch, tap-friendly m…%

Example: illustrative numbers only, showing how a hover-only menu can cut navigation to key pages on touch devices.

How to check if your site has it

Test your menu for touch
  1. Use a real device

    Open your site on a phone and a tablet (an iPad if you can). Tap each top-level menu item that should have a submenu.

  2. Try browser device mode

    In Chrome DevTools, open the device toolbar (Ctrl/Cmd+Shift+M) and pick a tablet. This simulates touch events, but a real device is more reliable for hover quirks.

  3. Check the tablet widths

    Test 768 to 1024 px wide, where many themes still show the desktop menu.

  4. Test the keyboard

    Press Tab to reach the menu item. The submenu should open on focus or on Enter or Space, and Escape should close it.

  5. Look for the CSS

    Search your theme CSS for selectors like .menu li:hover > .sub-menu with no matching :focus-within or JavaScript click handler.

How to fix it

The aim is a menu that opens on tap or click and on keyboard focus, not on hover alone. Hover can stay as an extra for mouse users. The exact steps depend on your platform and theme.

Fix by platform
  1. Check your theme or menu plugin

    Update the theme and any mega menu plugin. Many have a setting such as 'Open on click' or 'Mobile behaviour' in the menu options.

  2. Set the trigger to click

    In Appearance > Menus or your plugin settings, change the submenu trigger from hover to click or tap, where offered.

  3. Use a child theme for custom CSS

    If the theme can't change, add the custom code from the Custom code tab to a child theme, not the parent theme.

Tap and keyboard friendly submenuhtml
<nav>
  <ul>
    <li class="has-sub">
      <button type="button" aria-expanded="false" aria-controls="sub-services">Services</button>
      <ul id="sub-services" hidden>
        <li><a href="/pricing">Pricing</a></li>
        <li><a href="/book">Book a call</a></li>
      </ul>
    </li>
  </ul>
</nav>
Toggle the submenu on click, tap or Enterjavascript
document.querySelectorAll('.has-sub > button').forEach(function (btn) {
  var sub = document.getElementById(btn.getAttribute('aria-controls'));
  btn.addEventListener('click', function () {
    var open = btn.getAttribute('aria-expanded') === 'true';
    btn.setAttribute('aria-expanded', String(!open));
    sub.hidden = open;
  });
});

document.addEventListener('keydown', function (e) {
  if (e.key === 'Escape') {
    document.querySelectorAll('.has-sub > button[aria-expanded="true"]').forEach(function (btn) {
      btn.setAttribute('aria-expanded', 'false');
      document.getElementById(btn.getAttribute('aria-controls')).hidden = true;
    });
  }
});
Hover only where hover really existscss
@media (hover: hover) and (pointer: fine) {
  .has-sub:hover > ul { display: block; }
}
.has-sub:focus-within > ul { display: block; }
Menu behaviour

Hover only

  • Submenu opens only with a mouse
  • Tap does nothing or jumps to the parent page
  • Keyboard users can't open it

Tap and focus friendly

  • Tap or Enter opens the submenu
  • aria-expanded tells assistive tech the state
  • Escape closes it

How to confirm it's fixed

Confirmation checks
  • On a real phone, tapping a parent item opens its submenu
  • On a real tablet in portrait and landscape, the same works
  • Every submenu link can be tapped and loads the right page
  • Tapping outside or pressing Escape closes the menu
  • Tab and Enter open and move through the menu by keyboard
  • Desktop mouse hover still works, or click works as a fallback
  • The menu doesn't cover the main call to action when open

How to prevent it happening again

Prevention habits
  • Add a touch-device menu test to your release checklist after any theme, plugin or header change
  • Choose menu plugins that document touch and keyboard support
  • Avoid hover-only effects for anything that holds navigation or a call to action
  • Keep menus shallow: one level of submenu is far easier on touch
  • Test on at least one real iPhone or iPad and one Android device each quarter

How FunnelGuard handles this

FunnelGuard does not check this yet. Whether a menu opens on touch is a possible future check, not something it does today.

What FunnelGuard does do is run your real customer journeys on a schedule, such as lead forms, checkouts and booking or chat buttons, and check each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. If a journey breaks, it re-checks from a second region and sends one alert with a screenshot and a likely cause. That covers the journey itself, not how a menu behaves on a tablet.

To watch for hover-menu problems today, test on real touch devices after each site change, use your browser's device mode, and review analytics for tablet and mobile visits that never reach key pages. A free read-only website audit from FunnelGuard is also available, and the Free plan (1 site, 2 journeys, daily checks, no card) lets you monitor your main conversion journeys.

Questions people ask

Why is my dropdown menu not working on mobile?

Most likely the submenu opens only on mouse hover or relies on a script that doesn't handle touch. Touch screens have no hover, so tapping may do nothing or go straight to the parent page. Switch the menu to open on tap and keyboard focus.

Why does my menu need two taps on iPad?

Mobile Safari treats the first tap on a hover-driven item as a hover and the second as a click. It makes the menu usable, but visitors don't know to double-tap. Use a button that toggles the submenu on a single tap instead.

How do I make a CSS hover menu work on touch screens?

Add a click or tap handler that toggles an open state, and add :focus-within so keyboard focus opens it too. Keep :hover styles inside @media (hover: hover) and (pointer: fine). Mark the toggle button with aria-expanded.

How do I test a hover menu on touch without a phone?

Use Chrome DevTools device mode (Ctrl/Cmd+Shift+M) to simulate a touch tablet or phone. It is a good first check, but test on a real device too because hover emulation differs between browsers.

Are hover menus bad for accessibility?

Hover-only menus are, because keyboard and screen reader users can't trigger hover. Menus should open on focus, Enter or Space, close with Escape, and expose their state with aria-expanded.

Does a hover menu problem affect desktop visitors too?

Usually not for mouse users. It affects touch laptops, tablets, phones in landscape and keyboard users. Those groups can still be a meaningful share of your visitors.

Can FunnelGuard detect a hover menu that doesn't work on touch?

No, FunnelGuard does not check this yet. It monitors journeys such as forms, checkouts and booking buttons, plus tracking and lead delivery. For menus, test manually on real touch devices after changes.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.