HTML Accessibility Linter
Paste HTML and get explained findings for alt text, labels, headings, landmarks and ARIA.
HTML to lint
Findings
Paste HTML to lint it
Findings appear as you type. No script is executed and nothing is uploaded.
Details
HTML Accessibility Linter parses pasted markup with the browser DOMParser and runs a curated rule set covering images, form labels, button and link names, heading order, landmarks, document language and title, ARIA roles and required attributes, duplicate ids, list and table semantics, focus order and zoom blocking. Every finding includes a severity, a WCAG criterion, the offending element and a concrete code fix. Findings update as you type, can be filtered and muted, and export as a Markdown report. Nothing is executed or uploaded.
More examples
Missing image description
<img src="chart.png">The image has no alt attribute; add alt="Revenue doubled in Q3" or alt="" if it is decorative.
Unlabelled form field
<input type="email">Add <label for="email"> plus a matching id, or an aria-label, and declare autocomplete="email".
Broken heading order
<h1>Page</h1><h3>Details</h3>The jump from h1 to h3 is flagged; use h2 for the next section level.
Examples
Missing alt
<img src="chart.png">img-alt (error, WCAG 1.1.1)Add a descriptive alt attribute, or alt="" when the image is decorative.
Generic link text
<a href="/pricing">click here</a>link-name (warning, WCAG 2.4.4)Replace the generic phrase with the destination, e.g. "Pricing".
ARIA reference
<button aria-labelledby="missing">Go</button>aria-labelledby-refs (error, WCAG 1.3.1)Point the reference at an existing id or use aria-label instead.
About this tool
HTML Accessibility Linter checks pasted markup for common WCAG failures without installing anything. Its curated rules cover alternative text, form labels, accessible names, heading order, landmarks, language and title, ARIA roles and states, duplicate ids, list and table structure, focus order and zoom blocking.
Every finding is actionable: it names the rule, the WCAG success criterion, the offending element and a concrete code fix. Filter by severity, mute noisy rules for the session, and download a Markdown report for a pull request or ticket.
The linter examines markup semantics only. It does not compute color contrast, run JavaScript like axe-core, or render the page; parsing and rules happen in your browser tab and your HTML is never uploaded.
What this tool does not do
- No color contrast or visual rendering checks.
- JavaScript in the pasted HTML is never executed, so dynamic issues are invisible.
- Line numbers are approximate because DOMParser discards source positions.
- The rule set is a curated subset, not a complete axe-core equivalent.
How to use this tool
Paste HTML
Drop a full document or a fragment into the input pane; findings update as you type.
Read the findings
Select a row to see the snippet, rationale, WCAG reference and a suggested fix.
Filter or mute
Narrow by severity or mute a rule you have reviewed to focus on the rest.
Export the report
Download the Markdown findings file and attach it to a review or issue.
Use cases
Pre-review checks
Catch obvious semantic problems before opening a pull request.
Learning WCAG
See which criterion each markup mistake violates and how to fix it.
Component audits
Paste a rendered HTML fragment from a component to check names and structure.
Rule families
| Family | Examples |
|---|---|
| Images | img-alt, img-alt-filename |
| Forms | input-label, autocomplete |
| Names | button-name, link-name |
| Structure | heading-order, h1-unique, landmark-main, li-orphans, th-scope, dl-structure |
| ARIA | aria-role-valid, aria-required-attrs, aria-labelledby-refs |
| Interaction | tabindex-positive, link-target-blank, viewport-scalable |
Severity is shown as text and a label, never by color alone.
Common mistakes
Mistake:Treating this as a full WCAG audit.
Fix:Manual keyboard and screen-reader testing is still required.
Mistake:Expecting color contrast results.
Fix:Use a dedicated contrast checker for color math.
Mistake:Using alt="" on informative images to silence a warning.
Fix:Only decorative images should have an empty alt attribute.
Mistake:Ignoring approximate line numbers.
Fix:They are derived from source text matching; use the element target and snippet to locate the node.
Mistake:Muting a rule without fixing it.
Fix:Mutes last for the session only; export the report before muting.
Frequently asked questions
Which WCAG criteria are covered?
The curated rules reference WCAG 2.2 success criteria for non-text content (1.1.1), identify input purpose (1.3.5), info and relationships (1.3.1), language of page (3.1.1), page titled (2.4.2), focus order (2.4.3), link purpose (2.4.4), resize text (1.4.4), labels or instructions (3.3.2) and name, role, value (4.1.2). Each finding shows its criterion and a link to the relevant guidance.
Why no color contrast check?
Color contrast is a separate color-math problem owned by the contrast checker tool. This linter stays focused on markup semantics, so it never guesses at rendered colors or computed styles.
Does it run JavaScript like axe?
No. The HTML is parsed with the browser's DOMParser and inspected by static rules. Scripts are never executed, which keeps the tool fast, deterministic and safe for untrusted paste — but dynamic accessibility problems are outside its reach.
Can it check an iframe's content?
No. The linter examines the markup you paste. An iframe tag itself is checked for a title, but the document it loads is not fetched or inspected.
How do I fix generic link text?
Replace phrases such as 'click here' or 'read more' with text that describes the destination or action, for example 'Pricing' or 'Download the Q3 report'. Each finding includes a concrete rewrite suggestion.
Is my HTML uploaded or stored?
No. Parsing, rules and report generation all run in your browser tab. Nothing is sent to a server and the pasted HTML is not saved after you leave the page.
References & standards
Related tools
.env Secret Safety Linter
Validate .env syntax and spot likely leaked credentials or placeholder secrets.
.gitattributes Generator
Build .gitattributes rules for line endings, Git LFS, GitHub linguist marks and merge drivers — with a one-line explanation for every rule.
.htaccess Generator
Build an Apache .htaccess — HTTPS redirects, rewrites, error pages, security headers, and basic auth
2D Fluid Dynamics & Particle Physics Sandbox
A physics playground with two engines sharing one canvas. The fluid mode runs a real Eulerian Navier-Stokes solver — semi-Lagrangian advection, explicit diffusion, Jacobi pressure projection and vorticity confinement — that you paint with dye and velocity using mouse or touch. The particle mode is a damped Verlet N-body engine with gravity wells, Coulomb attractors and repulsors, spring links, wall restitution and elastic circle collisions. Particle counts adapt to the device (100k target on WebGL2 desktop, 2k-5k on CPU fallback), and every configuration exports as runnable code: a Matter.js world, a PixiJS ticker setup, or a standalone vanilla Canvas engine.
A/B Test Sample Size Calculator
Compute required sample size per variant and test duration from baseline conversion rate, minimum detectable effect, alpha and power.
ABA Routing Number Validator
Validate 9-digit US ABA routing numbers with 3-7-1 Mod-10 breakdown.