mmenu-light icon indicating copy to clipboard operation
mmenu-light copied to clipboard

Keyboard focus and inert attribute

Open vever001 opened this issue 1 year ago • 0 comments

Hello,

Compare the keyboard tab navigation for these 2 examples:

  • Mmenu-light: https://mmenujs.com/demo/index.html?demo=mmlight
  • Mmenu: https://mmenujs.com/demo/index.html?demo=menu-advanced-3

We can see that with mmenu-light, the keyboard is focusing on hidden elements inside the menu. However with mmenu, that is not the case as it seems to use the "inert" attribute there.

I wonder, as it seems rather an important feature for accessibility, could we add this to mmenu-light as well?

Thank you

vever001 avatar Jun 15 '23 10:06 vever001