ÚlohaBuild 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: dokonalý skelet prístrojovej dosky 11 rokov
250 XP16 min
Teória
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.
🔒
Zaregistruj sa a začni programovať
Teória je otvorená pre každého. Editor, živý náhľad a kontrola sa odomknú so 7-dňovou bezplatnou skúškou — karta potrebná, zruš kedykoľvek.
Registrácia — bezplatná skúška →Prvých 10 lekcií v každej trase je zdarma. Karta nie je potrebná.