← Teacher guide

Pages for everyone

Students predict what a screen reader says for a picture with no alt and a "click here" link, move through an accessible page with the keyboard, match problems to fixes, find headings chosen for size, fix pictures and labels, then check their own page and test it with a classmate.

Your site, for real · Ready for real people · about 55 minutes · Open the student lesson

Classroom resources

Load these into Waypoints Prepare: choose Load URL and paste the copied address, or download the file and import it. In Prepare, the worksheet's Teacher edition shows the answers; the student copy hides them.

Students will be able to

Timing

Predict and Run 10 min · Investigate 10 min · Modify 10 min · Make (check and classmate test) 25 min

Before class

The lesson works on any page, from any route through the Web pathway: Bootstrap and Vue pages end up as ordinary tags in the browser, so the same checks apply. Nothing new is taught about HTML: alt, headings, labels and links all appear in HTML & CSS; this lesson is about why they matter and checking for them.

The checklist follows the most common failures in automated checks of real home pages (missing alt text, missing form labels, low contrast and empty or vague links top the WebAIM Million survey every year). Contrast is hard to judge by eye: in Chrome or Edge, right-click the page, Inspect, and the colour picker shows a contrast ratio (4.5 or more for normal text). Screen readers: Narrator (Windows, Ctrl + Windows + Enter) or VoiceOver (Mac, Command + F5) let students hear their page; turn them off the same way.

The classmate test is the important part: a five-minute test with one person finds more problems than a checklist. Students give one task and watch without helping.

Running the lesson

  1. Predict: if you can, play a screen reader reading a page with no alt (Narrator or VoiceOver).
  2. Run: everyone presses Tab through the preview. Ask what the outline around each part is for.
  3. Investigate: for the bug, ask how a screen reader user moves around a page (by headings).
  4. Modify: ask students to say each alt text aloud: does it say what the picture shows?
  5. Make: pair students. The tester only tries; the maker only watches and notes, then fixes.

The hard part (on purpose)

Students think a page that looks right is right. Ask "how would someone who can't see it, or can't use a mouse, do this?" and let them try with only Tab and Enter.

When students get stuck

What you will seeA question to askThe fix
Clicking the label does not put the cursor in the box.Do for and id match exactly, capitals included?Use the same word in both: for="name" and id="name".
Tab skips a button or link.Is it a real button or a tag (a, input) that can take focus, or a div made to look like one?Use button or a; a clickable div is invisible to the keyboard.
Long alt text that repeats the caption.What would you say to a friend on the phone about this picture?A short description; alt="" if the picture is only decoration.

Answers to the checks

  1. Predict: A screen reader reaches the picture, then the link. What does it say?
    With no alt text, many screen readers read the file name. And "Click here" says nothing about where the link goes, especially when a screen reader lists all the links on a page.
  2. Find the fixes: This version looks almost the same but fails the checklist. Match each problem with its fix.
    <img src="trophy.svg"> has no words → A. add alt="A gold trophy"; <h4>When we meet</h4> comes straight after the h1 → B. make it an h2, the next level of the outline; <p>Name</p> above the box → C. a label with for="name", and id="name" on the input; Click here → D. link text that says where it goes: library meeting room
    Each fix is a tag or an attribute that tells the browser what the part is. The page looks the same; it works for more people.
  3. Spot the bug: A screen reader user jumps between headings to find the parts of this page, and hears levels 1, 4, 4: it sounds as if two levels are missing. Click the two lines that are wrong.
    line 2 and 4
    h4 was chosen because it looks small. Headings are the page's outline: the parts under the h1 are h2. Make them smaller with CSS if you want.
  4. Where this leads: Your page passes the checklist and a classmate has tested it. What is the next step to let anyone use it?
    Put it online, at an address you can share
    Next lesson: download the page and its files, check the paths, and put it online.

Solutions

One possible solution for each task. Other correct programs are fine.

Modify › Describe the pictures

<h1>Art show</h1>
<img src="star.svg" alt="A star" width="60">
<img src="medal.svg" alt="A medal for the best painting" width="60">
<h2>Sign up</h2>
<p>Your name</p>
<input type="text">
<p>Your year</p>
<input type="number">
<button>Sign up</button>

Modify › Name the boxes

<h1>Art show</h1>
<img src="star.svg" width="60">
<img src="medal.svg" width="60">
<h2>Sign up</h2>
<label for="name">Your name</label>
<input id="name" type="text">
<label for="year">Your year</label>
<input id="year" type="number">
<button>Sign up</button>

check your own page

Open task: any program that does what the step asks.

Stretch and support

Stretch: Run Chrome's Lighthouse accessibility check (Inspect, Lighthouse) on a real website and on your page. Listen to your page with Narrator or VoiceOver.

Support: Give students the six points as a printed tick sheet for their own page.

Exit ticket

Name two changes that make a page work for a screen reader without changing how it looks.

For example: alt text on pictures, labels joined to boxes, headings in order, link text that says where it goes.

What each step is for

Where it leads

Next lesson: put the page online. For Digital Technologies, this lesson covers designing the user experience and testing it with users (Years 9 and 10, AC9TDI10P07). Class idea: everyone tests a classmate's page with only the keyboard.

Sources