AGENT SKILL
accessible-forms
Rules for building forms and inputs so they work with a keyboard and a screen reader
- License 许可
- MIT
- 最近更新
- 2026-08-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- accessible-forms
- license
- MIT
- description
- Rules for building forms and inputs so they work with a keyboard and a screen reader
03 SKILL.md 正文
Accessible forms
- Every input has a
<label for>. Placeholder text is not a label. - Group related inputs in a
<fieldset>with a<legend>. - Errors are announced: put
role="alert"on the message and reference it from the input witharia-describedby. - Focus states are visible. Never remove an outline without replacing it.
- The submit button says what it does, so "Create account", not "Submit".