Build Accessible Dropdown Navigation Menus with Pure CSS and ARIA Attrib ...
Accessible dropdown navigation menus Dropdown menus that open on :hover only are unusable with a keyboard and unreliable on touch screens. The pattern that works for everyone is a disclosure: each parent item gets a real <button> with aria-expanded that opens and closes its submenu. CSS does the presentation, and a short script toggles the…