A11y Linter is a lightweight in-browser tool that audits pasted HTML forms for common accessibility issues based on WCAG 2.1 AA. Paste your form, click "Lint Form", and get instant feedback to improve your code’s accessibility.
- Detects common A11y issues (missing labels, placeholders, input IDs, etc.)
- Export linting results as JSON
- Clean, responsive UI (no frameworks)
- Works 100% client-side,no setup needed
- Open
index.htmlin your browser. - Paste an HTML
<form>into the textarea. - Click "Lint Form" to analyze it.
- Click "Export as JSON" to download the results.
<form>
<label for="email">Email address</label>
<input type="email" id="email" name="email" required aria-required="true" />
<label for="message">Your message</label>
<textarea id="message" name="message" required aria-required="true"></textarea>
<button type="submit">Send</button>
</form>✔️ Labels are associated with inputs
✔️ Semantic elements (<button>)
✔️ Inputs use name, required, aria-required
<form>
<input type="email" placeholder="Email">
<input type="text" placeholder="Your message">
<input type="submit" value="Go">
</form><label> tags
placeholder text
name or aria attributes
.
├── index.html # Main UI
├── script.js # Linting logic
└── style.css # Stylesheet
Built with 💜 by Idil Saglam