FeladatBuild 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-perfect műszerfalváz
250 XP16 min
Elmélet
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.
🔒
Regisztrálj, hogy elkezdj programozni
Az elmélet mindenkinek nyitva. A szerkesztő, élő előnézet és ellenőrzés 7 napos ingyenes próbával nyílik meg — kártya szükséges, bármikor lemondható.
Regisztráció — ingyenes próba →Minden útvonal első 10 leckéje ingyenes. Nem kell kártya.