Vai al contenuto principale
โ† ๐Ÿ“„ HTML & the platformยทModulo A5 ยท Lezione 13
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:

  1. Landmark structure โ€” <main> + <nav> + <header> + <footer>. Screen-reader users navigate by landmark.
  2. `aria-label` on icon-only buttons + nav โ€” without text, the assistive tech has nothing to announce.
  3. Skip link โ€” <a href="#main">Skip to content</a> as the first focusable element. Keyboard users repeat-tab through nav otherwise.
  4. Visible focus โ€” never outline: none without a replacement. Use :focus-visible to 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.

โ† PrecedenteProssima lezione โ†’

Ricevi un consiglio Python o web al giorno โ€” via email

Breve, scritto a mano, niente spam. Disiscriviti in un clic.