local-frontend-a11y
Skill2 starsChanged 11 days agoMITView on GitHub
补充表单、弹窗、菜单和标签页的键盘、焦点及语义检查;用于交互组件或无障碍问题,不给所有前端任务追加全面审计。
In this repository131 other files it gives its agents.
- agent-client-network-triageSkill
- architecture-designerSkill
- async-python-patternsSkill
- audit-ci-cost-leversSkill
- awesome-design-mdSkill
- byok-model-retrySkill
- cloudbase-wechat-integrationSkill
- concurrent-edit-attribution-checkSkill
- continuation-state-auditSkill
- counterexample-driven-plan-reviewSkill
- deliver-prdSkill
- desktop-update-push-triageSkill
- diagnose-github-actions-quotaSkill
- diagnose-windows-webview2-blank-windowSkill
- disk-junction-migrationSkill
- distinctive-design-systemsSkill
- dsh-session-format-debugSkill
- electron-app-stuck-spinner-triageSkill
- electron-asar-code-forensicsSkill
- electron-tray-icon-diagnosisSkill
- encrypted-office-visual-inspectionSkill
- frontend-design-ui-uxSkill
- frontend-developmentSkill
- game-designer-toolkitSkill
- game-numeric-designSkill
- github-acceleratorSkill
- global-config-smoke-runnerSkill
- goal-driven-executionSkill
- hid-device-protocol-probeSkill
- i-have-adhdSkill
- injected-context-slimmingSkill
- java-architectSkill
- java-qualitySkill
- kafka-best-practicesSkill
- large-sqlite-text-extractionSkill
- local-api-contractsSkill
- local-browser-e2eSkill
- local-db-migrationsSkill
- local-performance-evidenceSkill
- local-reverse-proxy-triageSkill
- local-rust-engineeringSkill
- local-spring-mybatisSkill
- mechanize-rule-into-hook-guardSkill
- memory-bank-divergence-repairSkill
- memory-entry-updateSkill
- merge-inbound-qoder-packageSkill
- minigame-dev-proSkill
- miniprogram-developmentSkill
- mongodb-atlas-stream-processingSkill
- mongodb-connectionSkill
- mongodb-mcp-setupSkill
- mongodb-natural-language-queryingSkill
- mongodb-query-optimizerSkill
- mongodb-schema-designSkill
- mongodb-search-and-aiSkill
- mysqlSkill
- nextjs-app-router-patternsSkill
- nginx-config-builderSkill
- nodejs-backend-patternsSkill
- oauth-login-failure-triageSkill
- The first 60 shown.
The file
Files
本地交互无障碍检查
保留当前 React/Vue/HTML 和组件库约定。先看现有组件是否已处理语义与焦点,避免重复叠加 ARIA;针对本次受影响组件作判断。
- 可操作元素优先原生 button/link。表单中非提交按钮明确类型,链接仍应有合适地址;不能只给 div 加 onClick 就视为键盘可用。
- 输入有可访问名称,label 与控件正确关联;placeholder 不替代 label。错误/帮助信息关联到输入,required/invalid 与真实状态一致;只改变颜色不能传达错误。
- 弹窗核对可访问名称、打开后焦点、Tab 范围、Escape 行为及关闭后回焦点。真实模态还需验证背景不能被键盘或指针操作;aria-modal 只表达语义,不能代替焦点管理与背景隔离。菜单与 tab 使用所选组件模式的键盘约定;不要把所有浮层都套同一组角色。
- 图标按钮有名称,装饰图不重复朗读;动态异步结果的通知方式适度。自动化规则不能判定完整屏幕阅读器体验。
运行现有 a11y lint/自动检查时保留实际结果;在可用浏览器中用键盘测试关键路径、检查焦点位置与名称。没有真实键盘/辅助技术验收时明确相应边界。只有本次任务要求合规评估时才扩大到标准级审计,不以局部检查宣称整体达标。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

