What AuditX checks
The scan opens the page you scanned in a browser twice, at 1440 by 900 pixels (desktop) and at 390 by 844 pixels (phone), and looks at what is on screen without scrolling. It picks one main button. Candidates are visible links, buttons, submit inputs and role="button" elements that look like buttons (a button element, a solid or gradient background and at least 32 pixels tall, or btn, button or cta in the class name). Menu toggles, search boxes, language switches, video and slider controls (including previous and next arrows with words, such as Previous slide or Vorige aanbieding), a link that is one of four or more look-alike items side by side in one list (a row of topic chips), login and account links outside a form, cookie banners, links to social networks (including follow-us links to Google preferred sources, Google News or a WhatsApp channel) and controls with no letters or digits are skipped, and so is anything taller than 120 pixels or 40 percent of the screen, because that is a card or a tile and not a button. Among the rest, the scan prefers labels of 1 to 8 words and takes the one with the largest area. It looks at the phone first and uses the desktop only when the phone has no labelled button. A second button of at least 80 percent of the area counts as a pair, so a filled button next to an outlined one is enough. The main button is then tested on up to three signs: it is at least 32 pixels tall, it has a solid or gradient background, and on a phone it is at least 44 by 44 pixels. The check passes when every sign is met, which is 3 of 3 on a phone and 2 of 2 on desktop. On a phone it warns when 2 of 3 are met. It fails when 1 or none is met, so on desktop a single missed sign is already a fail. The result is an info note, which does not lower the score, when the page could not be measured, when no single main button was found (only cards, social links or nothing), or when the only buttons have no text label, such as a search icon. The scan does not judge the wording of the label, its colour or where it goes. A warn costs less than a fail.
Why it matters
Nielsen Norman Group advises that buttons should at least remotely resemble physical buttons, with clear borders or fill and a consistent treatment, so that people recognise them as clickable without having to hunt.
W3C WCAG 2.5.5 (Target Size, Enhanced, level AAA) asks for pointer targets of at least 44 by 44 CSS pixels, because some people cannot tap small objects. The check uses that number for the phone view.
How to fix it
- Give the one action you most want a visitor to take a solid background colour that is different from the links around it.
- Make the button at least 44 pixels tall and wide on phones, with generous padding and a short label such as Get a quote.
- Use a real a element or button element, not a plain div, so keyboards and screen readers can use it.
- If you show two buttons side by side, make the main one filled and the second one an outline.
<a class="btn" href="/quote" style="display:inline-block;min-height:44px;min-width:44px;padding:12px 24px;background:#0b5fff;color:#fff">Get a quote</a>
Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.
Scan my siteSources
- Nielsen Norman Group: Making Clickable Elements Recognizable
- W3C: Understanding SC 2.5.5 Target Size (Enhanced)