A bookmarklet is a web browser bookmark with JavaScript commands that add new features. These small JavaScript snippets are stored as a bookmark URL and executed when clicked.
To use them:
| Bookmarklet | Test page |
|---|---|
|
Highlights all heading levels (H1–H6) with distinct colours. Flags empty headings and duplicate |
Testing headings |
|
Highlights all images. Distinguishes between meaningful |
Testing images |
|
Highlights native list elements and ARIA list roles with distinct colours per type. |
Reviewing lists |
|
Highlight captions and headers Highlights accessibility features within tables. Flags header cells with and without Click to activate, then press 1 through 3 in order to step through |
Testing tables |
|
Highlights ARIA roles relating to tables. Click to activate, then press 1 through 6 in order to step through the role hierarchy from container to cell. |
Testing ARIA tables |
|
Highlight landmarks
Highlights all landmark regions with distinct colours per role. Shows accessible name where present. |
Reviewing landmarks |
|
Highlights all elements with |
Testing aria-label |
|
Highlights elements with |
Reviewing aria-labelledby |
|
Highlights elements with |
Testing aria-describedby |
|
Highlights links and buttons where the visible label and accessible name don’t match. |
Testing name mismatches |
|
Highlight name-prohibited roles Highlights elements with |
Testing name-prohibited roles |
|
Highlights form fields and their accessible names. Flags fields with no name, and fields where the name comes from an unreliable source such as |
Testing form labels |
|
Highlight buttons
Highlights all buttons and their accessible names. Flags buttons with no accessible name. |
Testing buttons |
|
Highlights |
Testing fieldsets |
|
Highlights required form fields. Distinguishes between native |
Testing required fields |
|
Highlights all |
Testing aria-invalid |
|
Highlights |
Testing autocomplete |
|
Highlights open shadow DOM hosts and custom elements. Flags where shadow DOM cannot be confirmed. |
Testing shadow DOM |
|
Tracks each focusable element on the page. Click to activate, then TAB through the page. Each element is numbered in order. ESC to stop. |
Testing focus order |
Reveal Focus Order via A11y Tools
Show focus styles via A11y Tools
WTFocus via A11y Tools