_stefanzweifel’s avatar_stefanzweifel’s Twitter Archive—№ 1,674

  1. …in reply to @lorismatic
    @lorismatic Never actually looked so closely. Scrolling through the source they: - look at aria-* attributes - listen to keyboard events (esc, arrow-up, arrow-down, etc.) - deal with focus state - fetch remote content and use it as the menu github.com/github/details-menu-element/blob/main/src/index.ts