Keyboard and accessibility
- The list is a
<nav>landmark, named bylabel, holding nested<ol>lists of real links. Every link is in the tab order, unlike the rows of a tree. - The current section carries
aria-current="location". - The show and hide buttons carry
aria-expandedandaria-controls. Hiding the list moves focus to the show button, so a keyboard user is not dropped to the top of the page. - In the floating form, Escape closes the list and returns focus to its button.