Form bookmarklets explained

These bookmarklets help you inspect common accessibility features in forms and form controls. Use them to review names, buttons, groups, required fields, validation states and autocomplete values.

This page explains the bookmarklets available on the Intopia's accessibility testing bookmarklets page.

On this page


Bookmarklet 16. Highlight form field names

Highlights form fields and identifies how their accessible names have been provided. It distinguishes between names provided by:

It also flags form fields that do not have an accessible name. This makes it easy to identify both missing names and names that rely on less reliable techniques.

Transcript

Use this bookmarklet when you want to:

How to use it

  1. Drag a bookmarklet to your browser's Bookmarks Bar.
  2. Open the page you want to inspect.
  3. Click the Highlight form field names bookmarklet.
  4. Scroll through the page to review the highlighted form fields.
  5. Press Esc to remove the overlay.

When reviewing the page, check for:


Bookmarklet 17. Highlight buttons

Highlights all buttons and identifies how their accessible names have been provided. It distinguishes between names provided by:

It also flags buttons that do not have an accessible name.

Transcript

Use this bookmarklet when you want to:

How to use it

  1. Drag a bookmarklet to your browser's Bookmarks Bar.
  2. Open the page you want to inspect.
  3. Click the Highlight buttons bookmarklet.
  4. Scroll through the page to review the highlighted buttons.
  5. Press Esc to remove the overlay.

When reviewing the page, check for:


Bookmarklet 18. Highlight fieldsets

Highlights fieldset, legend and role="radiogroup" elements. It identifies fieldsets and their legends, highlights radio groups, and flags fieldset elements that do not have a legend. This makes it easy to inspect how related form controls have been grouped and labelled.

Transcript

Use this bookmarklet when you want to:

How to use it

  1. Drag a bookmarklet to your browser's Bookmarks Bar.
  2. Open the page you want to inspect.
  3. Click the Highlight fieldsets bookmarklet.
  4. Scroll through the page to review the highlighted fieldsets, legends and radio groups.
  5. Press Esc to remove the overlay.

When reviewing the page, check for:


Bookmarklet 19. Highlight required fields

Highlights form fields that have been marked as required. It distinguishes between:

This makes it easy to see how required fields have been identified and to spot unnecessary duplication.

Transcript

Use this bookmarklet when you want to:

How to use it

  1. Drag a bookmarklet to your browser's Bookmarks Bar.
  2. Open the page you want to inspect.
  3. Click the Highlight required fields bookmarklet.
  4. Scroll through the page to review the highlighted form fields.
  5. Press Esc to remove the overlay.

When reviewing the page, check for:


Bookmarklet 20. Highlight aria-invalid

Highlights elements that use the aria-invalid attribute. All recognised values are highlighted in green, making it easy to see where aria-invalid has been used. Elements where aria-invalid contains an unrecognised value are highlighted in red.

The recognised values are:

Transcript

Use this bookmarklet when you want to:

How to use it

  1. Drag a bookmarklet to your browser's Bookmarks Bar.
  2. Open the page you want to inspect.
  3. Click the Highlight aria-invalid bookmarklet.
  4. Scroll through the page to review the highlighted elements.
  5. Press Esc to remove the overlay.

When reviewing the page, check for:


Bookmarklet 21. Highlight autocomplete

Highlights form fields that use the autocomplete attribute. It distinguishes between:

This makes it easy to review how autocomplete has been used across a form.

Transcript

Use this bookmarklet when you want to:

How to use it

  1. Drag a bookmarklet to your browser's Bookmarks Bar.
  2. Open the page you want to inspect.
  3. Click the Highlight autocomplete bookmarklet.
  4. Scroll through the page to review the highlighted form fields.
  5. Press Esc to remove the overlay.

When reviewing the page, check for: