Main content
Focus landed here directly, skipping all 4 nav links. The tabindex="-1" on this <main> element is the Chrome bug fix.
Press Tab to move through the elements below. The active element highlights in blue and shows its tab order position. Greyed elements with dashed borders have tabindex="-1" — Tab skips them.
Try clicking the buttons and Tab-navigating to them. See the difference in when each pseudo-class shows a ring.
The entire row highlights (background + label color) when its input is focused. This is pure CSS — no JavaScript. The :focus-within pseudo-class applies to the row when any descendant has focus.
Tab into the demo area below. The skip link appears. Click it (or press Enter) — focus jumps directly to the main content, not the first nav link.
Focus landed here directly, skipping all 4 nav links. The tabindex="-1" on this <main> element is the Chrome bug fix.
Click each card to Tab into the hidden element. Green = Tab skips it. Red = Tab still reaches it (keyboard trap).
Click "Open dialog". The page content becomes inert — completely unreachable by Tab, mouse, and screen reader. Focus is trapped inside the dialog automatically.
Tab into the toolbar. Use ← → keys to move between buttons. Home / End jump to first/last. Only ONE button is in the tab order at a time.
Tab to reach the menubar. Arrow keys move between menu items. Each menu item gets tabindex="0" when active, "-1" when inactive.