# Application Accessibility: Focus Order Inspector

Split audit view pairing a dialog blueprint with numbered focus markers beside a stop list showing selectors, roles, and flagged order issues.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/focus-order-inspector
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Accessibility](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility)
- Created: 2026-07-02
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/focus-order-inspector.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-accessibility-focus-order-inspector
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge
- Installs to: `@/components/blocks/application-pro/accessibility/focus-order-inspector`

## About this block

Focus Order Inspector pairs a blueprint of the Acme
invite member dialog with the tab sequence captured
from it. Numbered markers sit on every focusable
element in the mockup, and the matching ruled list
names each stop with its selector, ARIA role, and a
pass or issue badge. Two stops are flagged: the close
button jumps to the front because of a positive
tabindex, and the copy invite link is focused last
even though it sits above the footer buttons.

Stops are one typed array, so the summary chip, the
markers, and the list always agree. Flagged markers
use the destructive token in both panels, which makes
scanning from mockup to explanation immediate.

## When to use

Reach for this block in an internal accessibility
tooling area or an audit report, wired to the focus
snapshot your test runner captures. Keep one dialog or
region per inspector so the marker count stays
readable.

A natural flow around it on an Application Pro page:

**Before**

- [A11y checklist panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility)

**After**

- [Screen-reader labels table](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility)
- [Keyboard nav guide](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility)

## What you can display

One strong use is the dialog tab order audit. Other
inspector shapes:

- **Full page sweep.** A page level mockup with markers
  across navigation, content, and footer landmarks.
- **Before and after.** Two captures side by side to
  prove a reorder fix actually changed the sequence.
- **Focus trap review.** The same list scoped to what
  happens when focus reaches the last stop in a modal.

> Tip: capture the order with a real keyboard pass,
> not from DOM order; tabindex and CSS order can make
> the two disagree.

## More in Application Accessibility

- [A11y Checklist Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/a11y-checklist-panel)
- [A11y Issue Trends](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/a11y-issue-trends)
- [A11y Preferences Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/a11y-preferences-panel)
- [Alt Text Review Queue](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/alt-text-review-queue)
- [Assistive Tech Matrix](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/assistive-tech-matrix)
- [Conformance Report Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/conformance-report-card)
- [Contrast Checker Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/contrast-checker-card)
- [Heading Outline Tree](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/heading-outline-tree)
- [Keyboard Nav Guide](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/keyboard-nav-guide)
- [Live Region Log](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/live-region-log)
- [Media Captions Audit](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/media-captions-audit)
- [Reduced Motion Audit](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/reduced-motion-audit)
- [Screen Reader Labels Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/screen-reader-labels-table)
- [Touch Target Audit](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/touch-target-audit)
- [Zoom Reflow Audit](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/zoom-reflow-audit)
