1
HTML/CSSAdvanced#accessibility#aria
ARIA (Accessible Rich Internet Applications) attributes like role, aria-label, aria-hidden, and aria-expanded add accessibility semantics to elements, especially custom widgets that native HTML doesn't cover. The first rule of ARIA: prefer native semantic HTML elements over ARIA when possible.
<button aria-expanded="false" aria-controls="menu">Menu</button> <ul id="menu" role="menu" hidden> <li role="menuitem">Home</li> </ul>