Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Accessibility Forms?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/adityaaatiwari-accessibility-forms)
---
description: Make web forms accessible with semantic labels, inline error association, focus management, and keyboard support
profile: standard
tags: accessibility, forms, frontend, ux
---
# Accessibility forms
Use when building login, checkout, settings, search, or multi-step form interfaces.
## Labels and descriptions
- Pair every input explicitly with a visible `<label for="...">` (never rely solely on `placeholder`, which vanishes on input).
- Group related radios and checkboxes inside `<fieldset>` with a `<legend>`.
- Link helper hints and inline validation messages via `aria-describedby`, marking invalid fields with `aria-invalid="true"`.
## Errors and keyboard flow
- Never disable the submit button silently without feedback; validate on blur/submit cleanly and announce error summaries with `role="alert"` or an accessible summary region.
- Move focus on invalid submission to the error summary or first invalid input so keyboard and screen-reader users land directly on the fix.
- Support native `autocomplete` tokens (`email`, `given-name`, `current-password`) and full Tab/Enter/Escape interaction.
## Verify
Navigate and submit empty/invalid forms using only Tab, Shift+Tab, Space, and Enter, then verify accessible names and error announcements with axe/screen reader.