SkipLink + LiveRegion

Atom

SkipLink is visually hidden until focused, enabling keyboard users to bypass navigation. LiveRegion announces dynamic content to screen readers.

SkipLink (focus to reveal)

Preview

Tab into the area below to reveal the skip link:

Skip to main content

Main content area

Code
// Place at top of layout:
<SkipLink href="#main-content" />

// Linked target:
<main id="main-content">...</main>

LiveRegion

Preview
Code
function Demo() {
  const [msg, setMsg] = useState('');
  return (
    <>
      <button onClick={() => setMsg('Action completed')}>Act</button>
      <LiveRegion message={msg} />
    </>
  );
}
Sourcemodules/ui/SkipLink.tsx