Skip to content
Skillpedia
Websites & UI (frontend)75k · #2713

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.md

Copy 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

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/accesskeys/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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 accesskey attribute 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.

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#2713
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills