Focus and navigation bookmarklets explained

These bookmarklets help you inspect how keyboard focus moves through a page. Use them to review focus order and identify how tabindex has been used.

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

On this page


Bookmarklet 9. Track focus order

Tracks keyboard focus as you move through a page using the Tab key. Each focusable element is numbered in the order it receives focus, making it easy to inspect the page's keyboard navigation sequence.

The currently focused element is highlighted with a badge showing:

Previously visited elements remain outlined until the bookmarklet is dismissed.

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 Track focus order bookmarklet.
  4. Press Tab to move through the page.
  5. Press Shift + Tab to move backwards if required.
  6. Press Esc to stop tracking and remove all highlights.

When reviewing the page, check for:


Bookmarklet 10. Highlight tabindex

Highlights all elements that use the tabindex attribute. It distinguishes between:

This makes it easy to identify elements that have been added to the keyboard focus order and to spot values that may cause unexpected keyboard navigation.

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 tabindex bookmarklet.
  4. Scroll through the page to review the highlighted elements.
  5. Press Esc to remove the overlay.

When reviewing the page, check for: