# Application Accessibility: Touch Target Audit

Interactive control audit showing hit areas at true scale in 44px frames with measured sizes, AA and AAA badges, and fix hints.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/touch-target-audit
- 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-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/touch-target-audit.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-accessibility-touch-target-audit
```

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, radix-ui
- shadcn/ui components: badge
- Installs to: `@/components/blocks/application-pro/accessibility/touch-target-audit`

## About this block

Touch Target Audit renders interactive controls
from the Acme workspace at true scale inside a
dashed 44px reference frame. Each row pairs the
live swatch with the control name, its selector,
the measured width and height, and two badges for
WCAG AA and AAA target sizes. Undersized controls
carry a fix hint, and a summary chip reports how
many pass each level. The tag remove control and
the slider thumb fail AA outright; the row overflow
menu meets the 24px minimum exactly.

Targets are one typed array with both boolean
fields on every object, so the summary counts, the
swatches, and the badges never drift. Each swatch
uses inline style clipped to the 44px frame, so the
preview reflects the real measured size rather than
a fixed box.

## When to use

Reach for this block in an internal accessibility
tooling area or an audit report, wired to the
dimensions your test runner reports. Touch density
matters most on small screens, so clear the failing
controls before shipping a mobile layout.

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**

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

## What you can display

One strong use is the workspace control hit area
audit. Other target size shapes:

- **Mobile layout pass.** The same controls measured
  at touch density instead of desktop.
- **Form control audit.** Checkboxes, radios, and
  switches sized against the 24px minimum.
- **Spacing exceptions.** Undersized targets that
  still pass thanks to the offset around them.

> Tip: measure the hit area, not the glyph; padding
> and pseudo-elements often make a target larger
> than the icon alone suggests.

## 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)
- [Focus Order Inspector](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/focus-order-inspector)
- [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)
- [Zoom Reflow Audit](https://www.shadcn-ui-blocks.com/blocks/application-pro/accessibility/zoom-reflow-audit)
