Am I misunderstanding something or does this article indicate that adding menu/menuitem roles somehow ensure keyboard operability of dropdown menus? (They don’t.) The use of <ul>/<li> elements is also superfluous as the added roles mean it could be just <div>s. Not a bad practice, but the article seems to indicate using a list is somehow helpful to AT users. (It isn’t.) I’d also recommend the aria-haspopup=menu (although equivalent to true, it’s more specific).
Marco Zehe
in reply to Eric Eggert • • •