The ARIA menu/menuitem pattern has a *lot* to answer for. Invariably, people wan...
Large Heydon Collider @heydon@front-end.social
The ARIA menu/menuitem pattern has a *lot* to answer for.
Invariably, people want to put interactive elements *inside* role="menuitem" and that is not permitted.
How do you go about addressing this? Using a standard list with role="menu" may not cause too many issues. But it's technically malformed.
I am tempted to suggest removing menu/menuitem semantics altogether, but that would mean a complete overhaul.