Accessibility audit: CityLights (sample)
https://www.w3.org · 4 pages reviewed · 28 November 2026 · Tested against WCAG 2.2 level AA
Summary
This is a sample report. CityLights is a deliberately inaccessible demonstration site published by the W3C, used here so you can see exactly what a Stepfree audit contains. A customer who cannot use a mouse cannot reach the main menu, and a customer using a screen reader cannot complete the survey form or tell most images apart.
Problems are listed in the order we recommend fixing them: those that stop a customer completing a purchase come first.
Fix list at a glance
| # | Problem | Severity | WCAG | Places |
|---|---|---|---|---|
| 1 | Images have no text description | Blocks purchase | 1.1.1 | 122 |
| 2 | Form fields have no label | Blocks purchase | 4.1.2 | 11 |
| 3 | Drop-down menus have no label | Blocks purchase | 4.1.2 | 5 |
| 4 | The main menu cannot be used with a keyboard | Blocks purchase | 2.1.1, 2.4.7 | Site-wide |
| 5 | Links have no readable name | Serious barrier | 2.4.4, 4.1.2 | 19 |
| 6 | Text is too faint against its background | Serious barrier | 1.4.3 | 10 |
| 7 | The page does not say what language it is in | Serious barrier | 3.1.1 | 4 |
| 8 | Choosing from the drop-down changes page without warning | Serious barrier | 3.2.2 | Site-wide |
| 9 | Pages have no heading structure or landmarks | Serious barrier | 1.3.1, 2.4.1, 2.4.6 | Site-wide |
Pages reviewed
| Page | Failing elements |
|---|---|
| Welcome to CityLights! [Inaccessible Home Page] https://www.w3.org/WAI/demos/bad/before/home.html | 44 |
| Welcome to CityLights! [Inaccessible News Page] https://www.w3.org/WAI/demos/bad/before/news.html | 45 |
| Welcome to CityLights! [Inaccessible Tickets Page] https://www.w3.org/WAI/demos/bad/before/tickets.html | 40 |
| Welcome to CityLights! [Inaccessible Survey Page] https://www.w3.org/WAI/demos/bad/before/survey.html | 42 |
Problems and fixes
1. Images have no text description
Blind shoppers using a screen reader hear a file name or nothing at all, so product photos, banners and image buttons are meaningless.
<img src="./img/border_left_top.gif" width="10px" height="10px">
<img src="./img/border_top.gif" height="10px">
122 images have no alt attribute. Most are layout pieces (corner and border graphics) and should get an empty alt so screen readers skip them. The navigation and headline images carry meaning and need a description.
<!-- Layout graphics: empty alt -->
<img src="./img/border_left_top.gif" width="10" height="10" alt="">
<!-- Navigation images: say where the link goes -->
<img name="nav_home" src="./img/nav_home.gif" width="88" height="27" alt="Home">
<!-- Better long term: move the border graphics into CSS so they are not in the HTML at all -->
.panel { border: 1px solid #a9b8bf; border-radius: 10px; }
2. Form fields have no label
Screen reader users hear "edit text" with no idea what to type. This blocks search, sign-up and checkout.
<input class="align" type="radio" name="res" value="1">
<input class="align" type="radio" name="res" value="2">
None of the radio buttons, checkboxes or text fields on the survey are tied to their visible text. Group each question in a fieldset so the question is read out with each answer.
<fieldset> <legend>The question text goes here</legend> <input type="radio" id="res1" name="res" value="1"> <label for="res1">First answer</label> <input type="radio" id="res2" name="res" value="2"> <label for="res2">Second answer</label> </fieldset>
3. Drop-down menus have no label
Screen reader users hear a list of options without knowing what they are choosing.
<select onchange="location.href = this.value;">
<select onchange="location.href = this.value;">
The quick-links drop-down has no label, and it jumps to a new page as soon as the selection changes (see the related manual finding).
<form action="/go" method="get"> <label for="quick">Quick links</label> <select id="quick" name="page">…</select> <button type="submit">Go</button> </form>
4. The main menu cannot be used with a keyboard
Anyone who cannot use a mouse, including people with motor impairments and screen reader users, cannot reach Home, News, Tickets or Survey from the menu.
Each menu link runs onfocus="blur();", which throws keyboard focus away the moment the link receives it. Pressing Tab skips the menu and there is never a visible focus indicator on it. The hover effect is also mouse-only.
<!-- Remove onfocus="blur();" from every link, then give focus the same styling as hover -->
<a href="home.html">Home</a>
#nav a:hover, #nav a:focus-visible { background: #fff; outline: 2px solid #16202a; outline-offset: 2px; }
5. Links have no readable name
Screen reader and voice-control users cannot tell where the link goes or ask for it by name.
<a href="javascript:location.href='home.html';" onfocus="blur();"><img name="nav_home" src="./img/nav_home.gif" width="88" height="27" hspace="15" border="0px"></a>
<a href="javascript:location.href='news.html';" onfocus="blur();"><img src="./img/nav_news.gif" name="nav_news" width="90" height="21" hspace="12" border="0px"></a>
The four main menu links contain only an image with no alt text, so they have no name. They also use a javascript: address, which breaks 'open in new tab' and fails if scripts do not load.
<!-- Before --> <a href="javascript:location.href='home.html';" onfocus="blur();"><img name="nav_home" src="./img/nav_home.gif"></a> <!-- After --> <a href="home.html"><img name="nav_home" src="./img/nav_home.gif" alt="Home"></a>
6. Text is too faint against its background
People with low vision, and anyone on a phone in daylight, struggle to read it. Body text needs a contrast ratio of at least 4.5:1.
<b>Free Penguins</b>
<b>More City Parks</b>
Headings in the side panels use dark grey-blue text (#41545D) on a mid grey-blue background (#A9B8BF), a ratio of about 3.9:1. Body text needs 4.5:1.
/* Darken the text: #2B3A41 on #A9B8BF gives about 5.8:1 */
.panel-heading { color: #2b3a41; background: #a9b8bf; }
7. The page does not say what language it is in
Screen readers guess the language and may read English text with the wrong pronunciation.
<html>
<html>
<html lang="en-GB">
8. Choosing from the drop-down changes page without warning
Keyboard users move through a drop-down with the arrow keys, so the page changes on the first key press and they can never reach the later options.
The quick-links menu runs onchange="location.href = this.value;".
<!-- Remove the onchange handler and add a button so the user decides when to go --> <select id="quick" name="page">…</select> <button type="submit">Go</button>
9. Pages have no heading structure or landmarks
Screen reader users navigate by jumping between headings and page regions. With one heading and no regions, they must listen to every page from top to bottom.
Each page has a single heading element and no header, nav, main or footer regions. Section titles are bold text or images. The layout is built from 10 to 23 nested tables per page, which screen readers announce as data tables.
<header>…logo and menu…</header> <nav aria-label="Main">…</nav> <main> <h1>Welcome to CityLights</h1> <h2>Heat wave linked to temperatures</h2> … </main> <footer>…</footer> <!-- Until the layout tables are replaced with CSS, mark them as presentational --> <table role="presentation">
How this audit was done
Each page was loaded in a desktop browser and tested with the axe-core engine against WCAG 2.0, 2.1 and 2.2 at levels A and AA. A reviewer then checked keyboard use, page structure and forms by hand on the same pages.
Automated checks find only part of all accessibility problems, and this audit covers the pages listed above, not the whole site. Fixing everything here will remove the most common barriers but does not prove full conformance.