CompitoQuick recap. Build a tiny page proving you know the 4 A5 must-haves. Skip link at top, <main id='main'>, <nav aria-label='Primary'> inside with one <a>, and an icon-only button with aria-label='Search'. The 4 checks verify each piece.
Recap: Accessibility, for real
50 XP5 min
Teoria
Quick recap โ Module A5
12 lessons of a11y. The 4 things you cannot ship without:
- Landmark structure โ
<main>+<nav>+<header>+<footer>. Screen-reader users navigate by landmark. - `aria-label` on icon-only buttons + nav โ without text, the assistive tech has nothing to announce.
- Skip link โ
<a href="#main">Skip to content</a>as the first focusable element. Keyboard users repeat-tab through nav otherwise. - Visible focus โ never
outline: nonewithout a replacement. Use:focus-visibleto scope the ring to keyboard users.
If any feels random, redo A5-02 / A5-04 / A5-07 / A5-10 then come back.
๐
Iscriviti per iniziare a programmare
La teoria รจ aperta a tutti. Editor, anteprima e check si sbloccano con una prova gratuita di 7 giorni โ carta richiesta, annullabile in qualsiasi momento.
Iscriviti โ prova gratuita โLe prime 10 lezioni di ogni percorso sono gratuite. Nessuna carta richiesta.