Skip to main content
Calcimator

WCAG Compliance Calculator

Score your website's WCAG 2.1 compliance across contrast, alt text, keyboard navigation, and ARIA labels.

About this calculator

This calculator runs five pass/fail checks — AA contrast, alt text, keyboard navigation, ARIA labels, and AAA contrast — each worth 20 points, and adds them into a compliance score. At the default 4.5:1 contrast ratio with the other three boxes checked, the score lands at 80% and Level AA, not AAA: WCAG Success Criterion 1.4.3 (Level AA) requires only 4.5:1 for normal-size text, but Success Criterion 1.4.6 (Level AAA) demands 7:1, so the default input passes four of the five checks and fails only the toughest one. Text size matters here because it changes which contrast bar applies — both success criteria relax the requirement to 3:1 (AA) and 4.5:1 (AAA) once text reaches 18pt, or 14pt bold, on the theory that larger glyphs remain legible at lower contrast.

Alt text, keyboard navigation, and ARIA labels each move the score by exactly one-fifth (20 points) whether toggled on or off, and unlike contrast they are binary switches rather than a continuous ratio. The level assigned is not simply "however many checks pass": Level A only requires AA contrast plus keyboard access, so a site with no alt text or ARIA can still register as Level A if those two hold. This tool checks the four criteria it collects — it does not audit heading structure, focus order, color alone conveying meaning, or the dozens of other WCAG 2.1 success criteria a real audit covers.

Inputs

Results

Compliance Score (%)

80%

WCAG Level (0=None, 1=A, 2=AA, 3=AAA)

2

Checks Passed4
Checks Failed1

Figures current as of 2018. Source: W3C, Web Content Accessibility Guidelines (WCAG) 2.1, Success Criterion 1.4.3 Contrast (Minimum), Level AA, and Success Criterion 1.4.6 Contrast (Enhanced), Level AAA, W3C Recommendation, 5 June 2018.

How to Use This Calculator
  1. Enter Contrast Ratio — use a color contrast checker tool to find the ratio between your text and background colors.
  2. Set Text Size (pt) — text 18pt or larger (or 14pt bold) qualifies as large text with relaxed contrast requirements (3:1 instead of 4.5:1).
  3. Set Has Alt Text to 1 if all meaningful images have descriptive alt attributes in your HTML.
  4. Set Keyboard Navigable to 1 if all interactive elements (buttons, links, forms) are operable without a mouse.
  5. Set ARIA Labels to 1 if dynamic content regions use proper ARIA roles and labels.
  6. Review Compliance Score (%) and WCAG Level — aim for Level AA (score ~80%) for legal compliance in most jurisdictions.

How the result changes with Contrast Ratio

Contrast RatioCompliance Score (%)WCAG Level (0=None, 1=A, 2=AA, 3=AAA)
2.2560%0
3.3860%0
6.7580%2
11100%3

What each input means

Contrast Ratio
Color contrast ratio between text and background (1:1 to 21:1)
Text Size (pt)
Font size in points. 18pt+ is considered large text with relaxed contrast requirements.
Has Alt Text (0=No, 1=Yes)
Whether all images have descriptive alt text
Keyboard Navigable (0=No, 1=Yes)
Whether all interactive elements are keyboard accessible
ARIA Labels (0=No, 1=Yes)
Whether ARIA labels are properly applied to dynamic content

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Contrast Ratio = 4.5, Text Size (pt) = 16, Has Alt Text (0=No, 1=Yes) = 1, Keyboard Navigable (0=No, 1=Yes) = 1 = 5 input(s) provided
  2. Calculate Compliance Score
    Compliance Score
    80 = 80
  3. Calculate WCAG Level
    2 = 2
  4. Calculate Checks Passed
    Checks Passed
    4 = 4
  5. Calculate Checks Failed
    Checks Failed
    1 = 1

Figures and sources

Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.

Frequently Asked Questions

Why does the default 4.5:1 contrast ratio score AA but not AAA?

WCAG 2.1 sets two different contrast bars for normal-size text: Success Criterion 1.4.3 requires 4.5:1 for Level AA, and Success Criterion 1.4.6 requires 7:1 for Level AAA. The calculator's default input of 4.5:1 clears the AA bar exactly but falls well short of the AAA bar, so the AA-contrast check passes while the AAA-contrast check fails — one of the five checks is red, which caps the score at 80% and the level at AA rather than AAA.

Does making my text bigger lower the contrast ratio I need?

Yes, once it crosses the 18pt threshold (or 14pt bold). Below that size the calculator applies 4.5:1 for AA and 7:1 for AAA; at or above it, the requirement relaxes to 3:1 for AA and 4.5:1 for AAA. A 20pt heading at a 4:1 ratio can pass AA even though the same ratio would fail on 14pt body copy.

Can a site reach Level A without alt text or ARIA labels?

Yes. The engine only requires AA-level contrast plus keyboard navigability for Level A — alt text and ARIA labels only start mattering at Level AA and above. A site that is fully keyboard-operable with sufficient contrast, but has no alt text at all, still registers as Level A here.

How much does turning off keyboard navigation cost the score?

Exactly 20 points, the same as any other single check, since all five criteria are weighted equally. But keyboard navigation carries extra weight in the level calculation specifically: without it the tool cannot award Level A or higher regardless of how the other four checks score.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Construction & Building Trades.