Title: Accessibility
Last modified: September 8, 2020

---

# Accessibility

 *  Resolved [Giovannapetrachi](https://wordpress.org/support/users/giovannapetrachi/)
 * (@giovannapetrachi)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/accessibility-51/)
 * I installed megamenu free plugin but ESC key not closes all open menus. Is pro
   version needed for this problem?
 * thank you
 * Giovanna

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/accessibility-51/#post-13380789)
 * Hi Giovanna,
 * As long as you “tab” to the menu (so that keyboard mode is enabled) you should
   find the escape key closes any open sub menu. If that isn’t what you’re seeing
   please post a link to your site so I can take a look.
 * Regards,
    Tom
 *  Thread Starter [Giovannapetrachi](https://wordpress.org/support/users/giovannapetrachi/)
 * (@giovannapetrachi)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/accessibility-51/#post-13381151)
 * Thank you very much, but with hover intent is satisfy [Success Criterion 1.4.13: Content on Hover or Focus of WCAG 2.1 ](https://www.w3.org/WAI/WCAG21/Understanding/content-on-hover-or-focus.html)?
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/accessibility-51/#post-13381523)
 * Hi Giovanna,
 * I don’t understand what you’re asking sorry. I believe that criteria is met already?
 * Regards,
    Tom
 *  [morelmm](https://wordpress.org/support/users/morelmm/)
 * (@morelmm)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/accessibility-51/#post-13468470)
 * i think it is not met,
    You should be also able to dismiss sub-menu (by pressing
   ESC) that was hovered
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/accessibility-51/#post-13472963)
 * Hi morelmm,
 * If the user is using a mouse to reveal the sub menu menu in the first place, 
   they can move their cursor away to hide the sub menu. If they are using a keyboard
   to reveal sub menus, they can use the keyboard to hide them too (using escape).
 * Ebay, amazon and even the menu at the top of this page do not use this behaviour
   either. If you wanted to implement it, you could use the JavaScript API:
 * [https://www.megamenu.com/documentation/javascript-api/](https://www.megamenu.com/documentation/javascript-api/)
 * Regards,
    Tom
 *  [morelmm](https://wordpress.org/support/users/morelmm/)
 * (@morelmm)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/accessibility-51/#post-13474764)
 * hi Tom, thank You for quick response,
 * i think this is exactly the failure criterion:
    “Failure to make content dismissable
   without moving pointer hover or keyboard focus”
 * Thanks for the API link, i surely will use it
    I someone else would need it:
 *     ```
       $(document).keyup(function(e) {
         if (e.key === "Escape") {
           $('ul.max-mega-menu').each( function() {
             $(this).data('maxmegamenu').hideAllPanels();
           });
         }
       });
       ```
   
 *  [jobbyj2002](https://wordpress.org/support/users/jobbyj2002/)
 * (@jobbyj2002)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/accessibility-51/#post-13568599)
 * HI,
 * Please I have this same issue.
 * Did this code work for you?
    If yes, where did you place the code in your theme?
 * Regards
    Joba

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Accessibility’ is closed to new replies.

 * ![](https://ps.w.org/megamenu/assets/icon-128x128.png?rev=1489843)
 * [Max Mega Menu](https://wordpress.org/plugins/megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/megamenu/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [jobbyj2002](https://wordpress.org/support/users/jobbyj2002/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/accessibility-51/#post-13568599)
 * Status: resolved