ЗадачаBuild the dashboard skeleton. Skip-link first. <header> with <h1>Dashboard</h1> + <nav aria-label='Primary'><ul><li>Home</li><li>Settings</li></ul></nav>. <main id='main' tabindex='-1'>: <h2>Stats</h2> + <p id='users' aria-live='polite'>0 users</p> + <p id='revenue' aria-live='polite'>$0</p>. <aside><h2>Recent</h2><ul><li>User signup</li></ul></aside>. <footer><nav aria-label='Footer'><ul><li>Help</li></ul></nav></footer>.
Capstone 3: a11y-перфектен скелет на таблото
250 XP16 min
Теория
What we're building
The skeleton of a user dashboard — the kind of layout every SaaS app ships. Must pass:
- Lighthouse a11y score 100.
- Five distinct ARIA landmarks (header, nav, main, aside, footer) — each labeled if duplicated.
- Skip-to-content link.
- Single h1, no heading skips.
- All interactive elements keyboard-accessible.
- Stats counters in aria-live regions for dynamic updates.
This skeleton is reused VERBATIM by the future Track C (JavaScript) capstones — meaning the JS lessons just need to wire up data fetching against this exact DOM.
🔒
Регистрирай се за да започнеш да кодираш
Теорията е отворена за всички. Редакторът, живият преглед и проверката се отключват с 7-дневен безплатен пробен период — нужна е карта.
Регистрация — безплатен пробен период →Първите 10 урока във всеки път са безплатни. Без карта.