accesskeys
What it does
This skill checks that each keyboard shortcut set with an accesskey attribute is used only once on a page. It is for web developers who add shortcut keys to links or buttons.
When to use it
- ✓When you add accesskey attributes to links or buttons on a page.
- ✓When a keyboard shortcut seems to reach the wrong element or none at all.
- ✓When you are reviewing templates that may repeat the same accesskey value.
Skill link
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/accesskeys/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Find any repeated accesskey values in my site's header and footer templates and fix them.”
5 new skills a week. 1 minute to read.
How it works
The agent scans the page markup for accesskey attributes, flags any duplicates, and gives each shortcut a unique value or removes the redundant ones.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Ensure accesskey values are unique
Duplicate access keys cause conflicts where only one element (usually the first) is reachable via the shortcut, making other elements inaccessible to keyboard users.
Quick Reference
- Each
accesskeyattribute value must be unique on the page - Duplicate access keys can lead to unpredictable browser behavior
- Helps keyboard users navigate reliably using defined shortcuts
Check
Check for duplicate accesskey attributes across the document to ensure each shortcut is unique.
Fix
Assign unique values to each accesskey attribute or remove redundant ones to prevent shortcut conflicts.
Explain
Explain how duplicate access keys affect keyboard accessibility and browser shortcut handling.
Code Review
Review the rendered markup and interactive states that affect Ensure accesskey values are unique. 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/rules/accessibility/accesskeys
FAQ
What happens when two elements share an accesskey?
The skill says usually only the first element is reached with the shortcut, so the others cannot be reached that way.
Does this skill set shortcut keys for me?
No. It checks the accesskey values already in place and fixes any duplicates.
Can duplicate shortcuts cause unpredictable behavior?
Yes. The skill notes that duplicate access keys can lead to unpredictable browser behavior.
Details
Original description by the author
Use when reviewing rendered HTML, interactive components, or design-system patterns related to Ensure accesskey values are unique. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.
Popularity
- GitHub stars
- 75k
- Ranking position
- #2713
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
frontendchecklist
75kChecks frontend code and live pages against 380+ rules for accessibility, speed, SEO and security, using a command-line tool.
frontend-checklist-global
75kAudits a frontend project against all 386 Front-End Checklist rules, and gives a specific fix for each issue found.
404-page
75kChecks that your missing-page screen offers helpful links and returns a real 404 status, to help lost visitors find their way.
about-page
75kReviews whether your site has a clear About page that explains who runs it, to build trust with visitors and search engines.
Similar skills
angular-developer
280kHelps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
frontend-a11y
280kHelps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
frontend-patterns
280kHas your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.