html · level 1 · unit 7 · lesson 3
- meet it
- guess first
- your turn
- fix it
- nailed it
Tap a green word if you get lost.
meet it
An page works for everyone who visits.
An accessible page works for everyone, including people who use screen readers, zoom in on the page or cannot use a mouse. You already know most of the tricks.
Give every picture alt text and every input a <label>. Set lang on <html>. Write link text that says where each link goes.
Use headings in order, with no skipped levels: after <h1> comes <h2>, never <h4>. Screen reader users jump between headings like the contents page of a book.
<h1>Pip's Plants</h1>
<h2>Tree of the week</h2>
<img src="tree.svg" alt="A leafy green tree">
<p>Read the <a href="https://example.com/care">tree care guide</a>.</p> Press show my page to see it here.
Try this: read only the headings and the links. Do they still make sense?
guess first
Which picture has helpful alt text?
Guess before you run it. Wrong guesses are how you learn, and nothing is marked.
<img src="dog.svg" alt="dog.svg">
<img src="cat.svg" alt="A cat chasing a ball of wool">
your turn
Your turn. Make this page work for everyone.
Fill the three blanks: set the language code to en, describe the ball picture, and give the box a label.
Press show my page to see it here.
- the page says it is in Englishnot checked yet
- the picture has alt textnot checked yet
- the box has a labelnot checked yet
fix it
The headings skip levels. Can you fix it?
Press show my page to see it here.
- the sections use the next level downnot checked yet
- no heading levels are skippednot checked yet
- After
<h1>, which level should come next? - Headings go in order with no gaps. These jump from 1 straight to 4.
- Change both
<h4>tags to<h2>, opening and closing, then press run.
nailed it
your page welcomes everyone. :D
- Accessible pages work for everyone who visits.
- Use alt text, labels,
langand clear link text. - Keep headings in order, with no skipped levels.
new words in your collection
- accessible
This lesson isn’t saved. A free account remembers every lesson you finish.