Paste your HTML and the tool checks each link and button against the 24×24 px minimum from inline styles and <style> blocks. Switch to the 44×44 px threshold, and review the new WCAG 2.2 criteria, alt text, and form labels in a report with criterion numbers and fix examples.
This tool runs entirely in your browser. What you enter is never sent anywhere.Your input is never sent anywhere.
DetailsHow the WCAG 2.2 Target Size Check Works
Paste a page's HTML and this checker tests whether links, buttons, and other controls meet the WCAG 2.2 minimum target size of 24×24 CSS pixels (SC 2.5.8). It reads width, height, padding, and box-sizing from inline styles and <style> blocks, then lists every undersized control with its line number and a CSS fix. Switch the threshold to 44×44 px to test against the stricter AAA criterion, SC 2.5.5.
Beyond target size, it flags candidates for the other new WCAG 2.2 criteria (dragging movements, accessible authentication, focus not obscured, and redundant entry) and runs core checks such as image alt text, form labels, button and link names, and page language. Every finding carries its success criterion number, such as 1.1.1 or 2.5.8.
Some criteria can't be judged from markup. Whether a sticky header actually covers the focused element, or whether help links stay in the same place across pages, takes a real browser and a person. The tool lists those as manual checks with their criterion numbers instead of implying they passed.
It's meant for front-end developers, QA and accessibility testers, designers reviewing a handoff, and anyone preparing for an accessibility review. It is a screening aid, not a conformance certificate.
Where Undersized Buttons and Links Get Caught
Finding icon buttons under 24px
Paste the markup and CSS for a toolbar or table row and see which close, delete, or menu buttons fall below 24×24 px. Pick the 44×44 px threshold to test against the stricter AAA target.
A pre-launch self-check
Run the page's HTML through the audit to catch missing alt text, unlabeled inputs, nameless buttons, and tiny tap targets before a release.
First-pass screening of a large site
Run a few representative templates to surface what can be detected automatically, then use the manual checks list to scope the hands-on testing that remains.
Filing fix tickets
Copy the report into a ticket or a message to a vendor. Each finding includes the criterion number, the line it was found near, and a code example.
Debugging "the buttons are hard to tap" feedback
See which controls are declared at which pixel size, so you can prioritize fixes with evidence instead of guesses.
Learning what changed in WCAG 2.2
The New in WCAG 2.2 tab isolates the findings tied to the criteria added in 2.2, shown against real markup you can edit and re-run.
How to Audit HTML for Minimum Tap Target Size
- Copy the page's HTML (View Source, or the Elements panel in your browser's developer tools). If sizes come from an external stylesheet, wrap its contents in a <style> tag and include it.
- Paste the HTML into the text area, upload an .html file, or click Sample to try an example.
- Under Target size threshold, choose 24×24 px (AA, 2.5.8) or 44×44 px (AAA, 2.5.5). Changing it after a run re-checks the same HTML.
- Click Run audit. Findings are grouped by severity, and the New in WCAG 2.2 tab shows only the criteria added in 2.2.
- Apply the fix examples, then copy the report or download it as a Markdown file.
Note: Items under Manual checks need a real browser and a person, so the tool doesn't judge them. Check them yourself.
Reading the Results: Limits, Exemptions, and External CSS
- Static analysis only: the checks run on markup and CSS text. Color contrast, how focus actually looks, and the final computed layout need a browser.
- How size is calculated: width, height, min-width, min-height, and padding come from inline styles and <style> rules outside @media, with specificity, source order, and !important taken into account. px, rem, and em are supported (1rem = 1em = 16px). Border width isn't counted. External stylesheets, @media, @supports, @container, and @layer blocks, and values in %, calc(), or var() aren't resolved, so those controls are listed as size couldn't be determined.
- Exemptions: links inside a sentence and checkboxes or radio buttons left at their default size are skipped. The spacing exemption depends on measured distances between controls, which static HTML can't give, so review any flagged control with the space around it in mind.
- Not a conformance claim: results don't certify that a page does or doesn't conform to WCAG 2.2. For a formal evaluation, work with a qualified accessibility auditor.
- Whole pages versus fragments: language, title, viewport, and main landmark checks run only when your HTML includes <html> or <head>.
- Privacy: the HTML is parsed in your browser and isn't sent to our servers. If you turn on Show preview, the browser renders the page in a sandboxed frame, which can request images or stylesheets your HTML references.
WCAG 2.2 Success Criteria and What This Tool Covers
The criteria the tool checks, including those added in WCAG 2.2. Automatic means the result can be judged from the markup. Partial means only some cases are detected, so a clean result doesn't prove the page is fine. Manual means you have to check by using the page.
| Criterion | Name | Level | Coverage |
|---|---|---|---|
| 1.1.1 | Non-text Content (alt text) | A | Automatic |
| 1.3.1 | Info and Relationships (headings, table headers, radio groups, form labels) | A | Automatic |
| 2.4.4 | Link Purpose (In Context) | A | Automatic |
| 3.1.1 | Language of Page (full HTML only) | A | Automatic |
| 4.1.2 | Name, Role, Value (button names, ARIA, iframe titles, duplicate IDs) | A | Automatic |
| 2.4.2 | Page Titled (full HTML only) | A | Automatic |
| 2.4.6 | Headings and Labels (empty headings) | AA | Automatic |
| 2.4.1 | Bypass Blocks (main landmark, full HTML only) | A | Partial |
| 2.4.3 | Focus Order (positive tabindex) | A | Partial |
| 2.1.1 | Keyboard (a elements with a click handler but no href) | A | Partial |
| 1.2.2 | Captions (Prerecorded) (track element) | A | Partial |
| 1.4.2 | Audio Control (autoplay) | A | Partial |
| 1.4.4 | Resize Text (viewport zoom restrictions) | AA | Partial |
| 2.5.8 | Target Size (Minimum), new in WCAG 2.2 | AA | Partial |
| 2.5.5 | Target Size (Enhanced), from WCAG 2.1 | AAA | Partial |
| 2.5.7 | Dragging Movements, new in WCAG 2.2 | AA | Partial |
| 3.3.8 | Accessible Authentication (Minimum), new in WCAG 2.2 | AA | Partial |
| 2.4.11 | Focus Not Obscured (Minimum), new in WCAG 2.2 | AA | Partial |
| 3.3.7 | Redundant Entry, new in WCAG 2.2 | A | Partial |
| 2.4.7 | Focus Visible (removed outlines) | AA | Partial |
| 3.2.6 | Consistent Help, new in WCAG 2.2 | A | Manual |
About the Partial checks
Target size, dragging, authentication, focus not obscured, and redundant entry are inferred from HTML attributes and CSS only. For 2.4.11, the tool lists fixed and sticky elements, and for 3.3.7 it flags confirmation fields on the same screen. Whether focus is really hidden, or whether a multi-step form asks for the same data twice, is also listed under Manual checks.
- Automatic: the result comes from the HTML structure alone.
- Partial: only some cases are detected. No finding doesn't mean no problem.
- Manual: you need to use the page to check. The tool gives you a checklist item.
SC 2.5.8 Explained: Exemptions and How 24px Is Measured
What WCAG 2.2 changed, how a 24 px target is measured, which exemptions apply, and what a static check can't see.
Short answer: WCAG 2.2 adds nine criteria and removes 4.1.1
WCAG 2.2 became a W3C Recommendation in October 2023. It adds nine success criteria: 2.4.11, 2.4.12, 2.4.13, 2.5.7, 2.5.8, 3.2.6, 3.3.7, 3.3.8, and 3.3.9 (three of them, 2.4.12, 2.4.13, and 3.3.9, are Level AAA). It also removes 4.1.1 Parsing. The criteria that matter most for touch interfaces are 2.5.8 Target Size (Minimum), 2.5.7 Dragging Movements, and 3.3.8 Accessible Authentication.
Why tap target size matters
SC 2.5.8 (Level AA) asks that pointer targets be at least 24×24 CSS pixels, unless an exemption applies. The stricter SC 2.5.5 (Level AAA) asks for 44×44. Tiny icon buttons and tightly packed links are hard to hit with a thumb, a mouse with a tremor, or a stylus, and mis-taps lead to frustration or accidental actions.
Because exemptions exist, an automated size check shouldn't be treated as a verdict. Look at the control on a real screen before calling it a failure.
How 24px is measured: width, height, and padding
The size is the area that accepts the click or tap, not the size of the drawn icon. A 16px icon with padding: 4px on every side is a 24px target when box-sizing is content-box. With box-sizing: border-box, padding is already inside the width and height, so width: 20px is a 20px target.
The tool combines width, height, min-width, min-height, padding, and box-sizing to get the area. When you fix a control, setting min-width and min-height to the threshold is the most reliable approach.
The five exemptions: spacing, equivalent, inline, user agent, essential
A target under 24px can still pass in five cases: Spacing (a 24px circle around each undersized target doesn't overlap another target), Equivalent (another control on the same page does the same job and is big enough), Inline (the target is inside a sentence or text block), User agent control (the browser sets the size and you haven't changed it), and Essential (the size is part of what the content conveys).
The tool can skip some inline links and default-size checkboxes and radio buttons, but it can't measure spacing. Review any flagged control with its surroundings in mind.
Dragging movements (2.5.7) and single-pointer alternatives
SC 2.5.7 requires that anything done by dragging can also be done with a single pointer action, such as a click or tap, unless dragging is essential.
Dragging is hard for people with tremors or limited fine motor control. For sortable lists and sliders, add buttons to move an item, a number field, or keyboard controls alongside the drag handle.
Accessible authentication (3.3.8): CAPTCHAs, paste blocking, and autocomplete
SC 3.3.8 says a sign-in step shouldn't depend on a cognitive function test, such as remembering a password, transcribing characters, or solving a puzzle, unless it offers an alternative or a mechanism that helps, such as support for password managers and pasting.
Blocking paste with onpaste or setting autocomplete="off" on sign-in fields gets in the way of password managers, so remove them. If you use an image CAPTCHA, offer another way to prove you are a person.
Frequent Mistakes the Audit Flags, and How to Fix Them
Icon buttons built about 20px wide cause mis-taps on phones
Close and delete icons get squeezed to save space, and on a touch screen people hit the neighboring button by mistake. This is the situation SC 2.5.8 was written for.
💡 See the solution▼
An icon-only button has no name, so screen readers say just "button"
A button made from an SVG or image, with no text or aria-label, gives screen reader users no clue what it does. It often shows up alongside size problems.
💡 See the solution▼
outline: none leaves keyboard users unable to see focus
Removing the outline from buttons and links for visual reasons, with nothing in its place, hides where focus is when someone tabs through the page. It also undermines the WCAG 2.2 focus criteria such as 2.4.11.
💡 See the solution▼
Empty alt on an image that carries information
Setting alt="" on charts, diagrams, or images used as buttons removes content that screen reader users need.
💡 See the solution▼
A placeholder used instead of a label
When an input has only a placeholder, the hint disappears as soon as someone types, and some assistive technology doesn't treat it as a name.
💡 See the solution▼
Link text like "click here" or "read more" repeated down the page
People who jump through a list of links hear each one out of context, so a page full of "read more" links is impossible to tell apart.
💡 See the solution▼
Blocking paste and turning autocomplete off on the sign-in form
Adding onpaste handlers or autocomplete="off" to credentials fields as a security measure forces people to remember and retype their passwords. This relates to WCAG 2.2 SC 3.3.8.
💡 See the solution▼
WCAG 2.2 Target Size and Audit FAQ
Q.What size must a target be to meet WCAG 2.2 Target Size (Minimum)?
A. Success criterion 2.5.8 (Level AA) says pointer targets such as links and buttons should be at least 24×24 CSS pixels, unless an exemption applies. The stricter Level AAA criterion, 2.5.5 Target Size (Enhanced), asks for 44×44 CSS pixels. Use the Target size threshold switch to test against either one.
Q.When is a target smaller than 24px still acceptable?
A. SC 2.5.8 has five exemptions: (1) Spacing: undersized targets are spaced so a 24 px circle around each doesn't touch another target; (2) Equivalent: the same function is available through another control on the same page that meets the size; (3) Inline: the target sits inside a sentence or text block; (4) User agent control: the browser sets the size and the author hasn't changed it; (5) Essential: the presentation is essential or legally required. This tool skips links inside sentences and checkboxes or radio buttons you haven't resized. It can't measure spacing, so check any control it flags against the space around it.
Q.Can it measure tap target size just from pasted HTML?
A. In many cases, yes. For links, buttons, checkboxes, and similar controls, it reads width, height, min-width, min-height, padding, and box-sizing from inline styles and <style> rules, using specificity, source order, and !important to pick the winning value. px, rem, and em are supported (1rem = 1em = 16px). Border width isn't counted. Anything it can't resolve (external stylesheets, rules inside @media, values in %, calc(), or var(), and links that are still display: inline) is listed as a control whose size couldn't be determined. To include an external stylesheet, paste its contents inside a <style> tag with your HTML, and confirm the final sizes in your browser's developer tools.
Q.What's new in WCAG 2.2?
A. WCAG 2.2 became a W3C Recommendation in October 2023. It adds nine success criteria: 2.4.11 Focus Not Obscured (Minimum), 2.4.12 Focus Not Obscured (Enhanced), 2.4.13 Focus Appearance, 2.5.7 Dragging Movements, 2.5.8 Target Size (Minimum), 3.2.6 Consistent Help, 3.3.7 Redundant Entry, 3.3.8 Accessible Authentication (Minimum), and 3.3.9 Accessible Authentication (Enhanced). It also removes 4.1.1 Parsing. This tool partly checks 2.5.8, 2.5.7, 3.3.8, 2.4.11, and 3.3.7 from the markup and lists 3.2.6 as a manual check. It doesn't test 2.4.12, 2.4.13, or 3.3.9.
Q.Does this tool check every WCAG 2.2 criterion?
A. No. It can only judge what shows up in HTML and CSS text: alt attributes, form labels, button and link names, the lang attribute, heading order, and similar structure. Color contrast, how focus actually looks, and anything that depends on using the page need a browser and a person. Those items appear under Manual checks with their criterion numbers.
Q.How does it detect dragging (2.5.7) and authentication (3.3.8) problems?
A. For 2.5.7, it flags elements with draggable="true", an ondragstart, ondrop, or ondragover attribute, or a class containing "sortable", and asks you to confirm that a click or tap alternative exists. For 3.3.8, it looks at forms with a password field and flags CAPTCHA-like wording or puzzle prompts, autocomplete="off" on the sign-in fields, and onpaste handlers that block pasting. These are heuristics. A page with no findings isn't necessarily conformant.
Q.If a page passes, does that mean it conforms to WCAG 2.2?
A. No. Automated checks cover only part of WCAG, and this tool covers only part of what automation can do. Treat it as a fast first pass. A formal conformance claim needs a full evaluation that includes manual testing with a keyboard and assistive technology.
Q.Is my HTML sent to a server?
A. No. The HTML is parsed and checked in your browser, and nothing you paste is sent to our servers, so it's fine to use with unpublished pages. If you turn on Show preview, the browser renders your HTML in a sandboxed frame with scripts disabled, and, like any web page, it may request images or stylesheets that your HTML points to.
Q.What does the report look like?
A. On screen, you can filter findings with the tabs: All, New in WCAG 2.2, Critical, Warnings, Info, and Manual checks. Each finding shows the criterion number, the lines it was found near, and a fix example where one applies. Copy report puts a Markdown report on your clipboard, and Download Markdown saves the same report as a .md file, ready to paste into a ticket or send to a vendor.
Q.Can I paste just part of a page?
A. Yes. A fragment such as a card component or a form is parsed like any other HTML. The checks that apply to a whole page (language, title, viewport, and main landmark) run only when your HTML includes an <html> or <head> tag, so a fragment won't be flagged for them.
Q.Can I check a React or Tailwind page?
A. Paste the rendered HTML, for example from the Elements panel in your browser's developer tools, not the component source. Utility classes such as Tailwind's don't carry any size on their own, so the tool lists those controls as size couldn't be determined unless you also paste the compiled CSS inside a <style> tag.
Your feedback
makes this tool better.
Tell us which features you'd like, what should be fixed, or which new tool you'd like to see. An engineer reads every submission and uses it to guide development.