How to use

A step-by-step guide for testers. For the full list of features and limitations, see the App Guide.

Before you start

You'll get the most out of this app if you're testing pages with ANDI, the free accessibility testing tool from the U.S. Social Security Administration. You don't need ANDI to use the app, though: you can also look up Trusted Tester tests and WCAG criteria on their own.

Open the app in your browser (the website, or the toolbar icon if you've installed the extension). There's nothing to sign in to and nothing to install for the website.

The screen at a glance

From top to bottom:

  1. Header: the app name (select it to return to search) and links to How to use and App guide
  2. Search Criteria: a dropdown that picks what you're searching
    • Describe the accessibility issue itself: searches ANDI alerts (the default)
    • Search by any WCAG guideline, Section 508 Conformance Requirement, or Test Condition: searches Trusted Tester tests
    • Check code snippet: swaps the search box for a code box where you paste a component's HTML
  3. Search box: type here. Results update as you type. The × clears it.
  4. Result count, e.g. "2 matching alerts"
  5. Results, in two columns on wide screens
  6. Detail panel: opens beside the results on wide screens (below them on narrow screens) when you select a result. Back returns to the previous item; Close or Esc closes it

Task 1: Look up an ANDI alert

Use this when ANDI shows you an alert and you want to know what it means and how to fix it.

  1. Make sure Search Criteria is set to Describe the accessibility issue itself.
  2. In ANDI, copy the alert text from the ANDI Output (or type it).
  3. Paste it into the search box, e.g. Image has no accessible name, [alt], or [title].
  4. The matching alert appears at the top of the results. Select it.
  5. The breakdown opens in the detail panel. Read it from top to bottom (see Reading an alert's breakdown).
  6. Select Close at the top right of the panel when you're done. Focus goes back to the result you opened.

Tip: you don't need the whole message. A distinctive part works too, e.g. has no <th> cells. The alert's name also works, e.g. Table Has No TH.

Task 2: Describe a problem in your own words

Use this when you've spotted a problem but don't have ANDI's exact wording.

  1. Keep Search Criteria on Describe the accessibility issue itself.
  2. Type a short description, e.g.
    • missing alt text
    • button has no name
    • form field has no label
    • h2 is blank
    • low contrast text
  3. Select the result that fits and read its breakdown.

Tips for good results - Two to four words work best. Name the element and the problem: image missing alt, table no headers. - One word gives a topic list: table, link, aria, contrast. That's useful for browsing; add a second word to narrow it. - Short technical terms are fine: alt, th, td, img, tab, lang, h1–h6. - Use the words ANDI or WCAG would use if plain language doesn't find it: accessible name, label, heading, tab order.

Task 3: Look up a Trusted Tester test or WCAG criterion

Use this when you're working through the Trusted Tester process, or someone mentions a test ID or WCAG number.

  1. Change Search Criteria to Search by any WCAG guideline, Section 508 Conformance Requirement, or Test Condition.
  2. Type one of:

    You type You get
    5.A (test ID, any case) That one test
    10 The whole group: 10.A–10.D
    1.3.1 (WCAG criterion) Every test under that criterion
    503.4 (Section 508 requirement) The matching tests
    label, contrast, forms Tests with that word in their name, requirement or category
  3. Each test appears as a card with everything on it (see Reading a test card). There's nothing to open.

Task 4: Check a code snippet

Use this when a developer sends you a component, or you want to check markup before it ships.

  1. Change Search Criteria to Check code snippet.
  2. Paste the HTML for one component (a button, form field, image, table or widget), not the whole page. For example: <img src="logo.png">
  3. Select Check, or press Ctrl+Enter (Cmd+Enter on a Mac).
  4. Read the results:
    • Fails: each card names the problem, its impact, the code that failed, how to fix it, the WCAG criterion (select it to open the details) and the Trusted Tester tests for that criterion.
    • Needs review: axe couldn't decide; check these by hand.
    • Results marked 508 Inspector check come from our own check for clickable <div>s and <span>s that aren't real buttons or links (axe-core doesn't check for these).
    • Passed checks: collapsed list of what passed.
  5. Select Clear to start again.

Your code stays in your browser and runs in a sealed-off frame. Automated checks find only about a third of issues, and your site's stylesheets aren't loaded, so always confirm with ANDI and the Trusted Tester tests.

Task 5: Check an issue ANDI doesn't flag

Some problems are checked by hand, so ANDI never shows an alert for them, for example:

  • keyboard traps
  • focus that isn't visible
  • time limits
  1. In Describe the accessibility issue itself, type the problem in full, e.g. keyboard trap.
  2. A note appears above the results: Related Trusted Tester test, with the matching test (here 4.C). The results say "ANDI doesn't raise an alert for this issue; it's checked by hand."
  3. Select the test in the note. The app switches to the WCAG search and shows that test's card, with what to check and how to fix it.

Note: the note only appears once you've finished typing and only when no ANDI alert matches.

Reading an alert's breakdown

Part Use it to…
In plain English Understand the problem in one sentence
ANDI alert text Confirm this is the alert you saw in ANDI
1. WCAG 2.0 success criteria failing Know which criteria to cite in your report
2. Trusted Tester v5.1.3 test Know which test to record it under. A yellow box means no single test covers it and lists the related tests instead
3. Who this affects Explain the impact to developers or stakeholders
4. What's happening and how to fix it Explain the cause (Why it matters) and the fix (Recommendation)
5. See it in ANDI (some alerts) See a real ANDI screenshot of the problem, the fixed code, and what ANDI shows after the fix. Select a screenshot to open it full size
Related components Look up the naming techniques mentioned (aria-label, label, alt…)
Further reading Go deeper: ANDI developer guide, MDN, W3C

Reading a test card

Part Use it to…
In plain English Understand what the test checks
Test ID and name (e.g. 5.A 3.3.2-label-provided) Record the test
Requirement (e.g. 3.3.2 Labels or Instructions) Cite the WCAG or Section 508 requirement
Category See the Baseline Test group it belongs to
Who is affected Explain the impact. "General, not tied to a specific ANDI alert" means it's based on general knowledge
Test Condition Know exactly what must be true to pass
Applicability Know when to record Does Not Apply (DNA)
What's happening and how to fix it Explain the problem and the fix
Further reading Open the W3C Understanding page and related tutorials
Obsolete badge (5.E only) Skip it: retired in the April 2024 baseline update

Red vs. yellow: fix it or investigate it

ANDI colors its alerts, and the app's guidance follows the same idea:

  • Red (danger) alerts are definite problems. Look up the alert and apply the fix. Examples: No Accessible Name (Image), Table Has No TH, Contrast Ratio Minimum Requirement.
  • Yellow (caution) alerts need your judgement. The app explains what to check; you decide whether it passes. Examples:
  • Ambiguous Link: fine if the surrounding text makes each link's purpose clear.
  • Focusable Element Not In Tab Order: a problem on an ordinary link, but correct on a dialog that receives focus by script. "See it in ANDI" shows the dialog case.
  • JavaScript Event Found: check whether the event causes a keyboard problem.

When in doubt, read the Trusted Tester test linked in section 2 of the breakdown. Its Test Condition says exactly what passes.

A typical testing workflow

  1. Run ANDI on the page and work through each module (focusable elements, graphics/images, links/buttons, tables, structures, color contrast, hidden content, iframes).
  2. For each alert you don't recognize, paste it into the app (Task 1).
  3. Decide pass or fail: red means fix; yellow means check the condition (see above).
  4. Record it using the Trusted Tester test ID and WCAG criterion from sections 1 and 2.
  5. Write the fix for the developer using section 4 and, where available, the Fix code in "See it in ANDI".
  6. Check the manual tests ANDI can't do (keyboard traps, focus visible, time limits, captions…). Use Task 5 or the WCAG search to read each test's condition.

Using it as a browser extension

The app can run as a popup from your browser toolbar.

Install (Chrome, Edge, Brave) 1. Download or clone the project folder. 2. Go to chrome://extensions (or edge://extensions). 3. Turn on Developer mode (top right). 4. Select Load unpacked and choose the project folder (the one containing manifest.json). 5. Pin 508 Inspector to the toolbar.

Firefox: go to about:debugging#/runtime/this-firefox → Load Temporary Add-on → choose manifest.json. Temporary add-ons are removed when Firefox restarts.

Use: select the toolbar icon. The app opens as a compact popup and works the same as the website.

Update: the extension does not update itself. Pull the latest code into the folder, then select reload on the extension in chrome://extensions.

Keyboard and screen reader use

  • Tab moves through the page: skip link, the header links, Search Criteria, search box, results, then the detail panel.
  • Arrow keys change the Search Criteria option when it has focus.
  • Enter or Space opens a result.
  • The result count is announced as you type.
  • Close (or Esc) in the detail panel returns focus to the result you opened.
  • Screenshots have text descriptions, and screenshot links say they open in a new tab.
  • Links that open in a new tab say so to screen readers.

Troubleshooting

Problem What to do
I don't see a recent change Your browser is using a saved copy. Hard refresh: Ctrl+Shift+R (Windows/Linux) or Cmd+Shift+R (Mac), or open the site in a private window. Changes can take up to 10 minutes to show with a normal refresh. Quick check: missing alt text should give exactly 1 result
The extension shows old content It runs from your local folder. Pull the latest code, then reload it in chrome://extensions
"Could not load alert data" You opened index.html directly from disk. Serve the folder instead (python3 -m http.server 8000, then open http://localhost:8000)
Too many results Add a second word, paste ANDI's exact text, or use the alert's name
No results Try ANDI's wording, fewer words, or the other search mode. If it's a manual check, finish typing the full phrase so the test note can appear
Clickable div not flagged by a code check The check needs the click handler in the snippet: an onclick attribute, or the script that adds it
A test ID finds the wrong thing Test IDs only work in the WCAG / Test Condition mode
The result doesn't fit what I see The app matches keywords, not meaning. Check the ANDI alert text in the breakdown matches what ANDI showed you

Quick reference

I want to… Mode Type
Understand an ANDI alert Describe the issue Paste the alert text
Find an alert by name Describe the issue Ambiguous Link
Describe a problem Describe the issue missing alt text
Check something ANDI doesn't flag Describe the issue keyboard trap, focus not visible, time limit
Look up a test WCAG / Test Condition 5.A
See a whole test group WCAG / Test Condition 10
Find tests for a WCAG criterion WCAG / Test Condition 1.3.1
Find tests by topic WCAG / Test Condition label, contrast
Check a component's HTML Check code snippet Paste the HTML, select Check

Back to top · Back to search