Aller au contenu principal
← 📄 HTML & the platform·Module A5 · Leçon 13
TâcheQuick 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
Théorie

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.

🔒

Inscris-toi pour coder

La théorie est ouverte à tous. L'éditeur, l'aperçu live et le check se débloquent avec un essai gratuit de 7 jours — carte requise, annulable à tout moment.

S'inscrire — essai gratuit →

Les 10 premières leçons de chaque parcours sont gratuites. Pas de carte requise.

← PrécédentLeçon suivante →

Recevez une astuce Python ou web par jour — par email

Court, écrit à la main, sans spam. Désabonnement en un clic.