Select Name
Designselect-nameSelect Name is an Agent Skill for design published in the thedaviddias/Front-End-Checklist repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use when reviewing rendered HTML, interactive components, or design-system patterns related to Provide accessible names for select elements. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/thedaviddias/Front-End-Checklist/blob/HEAD/skills/select-name/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/select-name, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Provide accessible names for select elements
Without an accessible name, screen reader users will not know what information the dropdown is asking for, making forms impossible to complete.
Quick Reference
- Use the
<label>element with a matchingforattribute for every<select> - Alternatively, use
aria-labeloraria-labelledbyif a visible label is not possible - Avoid using the first option as a replacement for a proper label
Check
Check that every <select> element in your forms has a valid accessible name or linked label.
Fix
Add a <label> element with a for attribute that matches the id of the <select> tag.
Explain
Explain how accessible names for select elements provide the necessary context for users of assistive technologies.
Code Review
Review the rendered markup and interactive states that affect Provide accessible names for select elements. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/en/rules/accessibility/select-name