Start a project

Tool 46 of 244 · Accessibility

Tap Target & Focus Checker

Paste a page or component and see every control that's too small to tap, has no visible focus style or has no name for screen readers.

Tap Target & Focus Checker at a glanceIllustration: 1, Your page's HTML; 2, processed in your browser; 3, Size + focus report.Tap Target & Focus Checker</>1Your page's HTML44 × 443Size + focus report2In yourbrowser
1 Your page's HTML 2 processed on your device 3 Size + focus report

Tap Target & Focus Checker

Your HTML

Rendered in a locked-down frame: scripts don't run and nothing is fetched.

01

What it does

Measures every link, button and field in pasted HTML for WCAG 2.2 target size, visible focus and an accessible name.

  • WCAG 2.5.8 (24px) and 2.5.5 (44px) target sizes
  • Spacing exception for small, spaced-out targets
  • Focus style detection
  • Accessible name and where it comes from

02

Private by design

Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

03

What you get

A Markdown or CSV report, with a Copy and a Download button on every result.

  • WCAG 2.5.8
  • WCAG 2.4.7
  • Accessibility

Why it matters

WCAG 2.2 added success criterion 2.5.8: anything people tap or click must be at least 24 by 24 pixels, or spaced so that a 24px circle around it doesn't overlap its neighbours. Tiny social icons and close buttons are the usual failures, and they're as frustrating for someone with a tremor as they are for anyone using a phone on a bus.

Keyboard users need to see where they are (2.4.7 Focus Visible), and screen reader users need every control to have a name (4.1.2). These three problems are quick to fix once you can see them, so this checker lists every control with a number on the preview.

How it works

  1. InputPasted HTML, rendered in a locked sandbox
  2. In your browserEvery control measured, focus and name checked
  3. OutputA list of targets under 24px or 44px, with fixes

Where it fits in a designer's workflow

  1. Plan
  2. Design
  3. Build
  4. Test
  5. Launch
Testing: run it on mobile layouts before launch.

By the numbers

Minimum tap target sizes from the main guidelinesWCAG 2.2 SC 2.5.8 (AA minimum): 24 × 24 CSS px; WCAG 2.2 SC 2.5.5 (AAA enhanced): 44 × 44 CSS px; Apple Human Interface Guidelines: 44 × 44 pt; Material Design (Android): 48 × 48 dpWCAG 2.2 SC 2.5.8 (AA minimum)24 × 24 CSS pxWCAG 2.2 SC 2.5.5 (AAA enhanced)44 × 44 CSS pxApple Human Interface Guidelines44 × 44 ptMaterial Design (Android)48 × 48 dp
Published minimums, not estimates. 2.5.8 also passes smaller targets that have enough space around them, and links inside a sentence are exempt. Source: WCAG 2.2 SC 2.5.8; Apple HIG; Material Design.
Show the numbers as a table
GuidelineMinimum size
WCAG 2.2 SC 2.5.8 (AA minimum)24 × 24 CSS px
WCAG 2.2 SC 2.5.5 (AAA enhanced)44 × 44 CSS px
Apple Human Interface Guidelines44 × 44 pt
Material Design (Android)48 × 48 dp

How to use it

  1. Paste the HTML of a page, a component or a form, including its <style>. Or load the example.
  2. Pick the screen width to test at and press Check.
  3. Read the table: red rows need attention. The numbers match the outlines on the preview.
  4. Download the report as Markdown or CSV for your ticket or audit.

FAQ

Why does a link in a sentence pass?

WCAG 2.5.8 exempts links inside a sentence or block of text, because their size is set by the text around them.

How is the focus style detected?

The checker focuses each control and compares its outline, border, shadow, background and text colour before and after. If nothing changes, there's no visible focus style. It can't judge whether a change is clear enough, so check that by eye.

Why don't my scripts or images run?

The preview is a locked-down frame: scripts are switched off and nothing is fetched, so your HTML can't do anything unexpected. Image sizes still count if you set width and height in HTML or CSS.

Is my HTML uploaded?

No. It's rendered in a sandboxed frame on this page.

Work with me

Want a site that gets these right?

I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

All developer tools · Back to leej.uk