跳到正文
Skillpedia
安全75k · #2709

accessible-authentication

它能做什么

这项技能检查登录、两步验证和密码找回,找出会阻碍认知、运动或低视力用户的障碍。适合希望让所有人都能顺利登录的产品团队。

适用场景

  • ✓当你正在构建或审查登录表单、注册页面或密码重置功能时。
  • ✓当你的网站在登录时使用验证码或记忆测试时。
  • ✓当你希望取消对密码管理器和登录框粘贴操作的限制时。

技能链接

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/accessible-authentication/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/accessible-authentication/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请审查我们的登录和密码重置流程,看看有没有会阻碍有无障碍需求用户的地方。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会检查整个登录路径,包括错误处理和备用选项,查找是否阻止粘贴、是否有记忆测试,以及验证码输入是否不清楚。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Provide accessible authentication methods

Authentication often becomes the first hard blocker for users with cognitive, motor, low-vision, or speech-input needs. If sign-in, MFA, or recovery relies on memorization or transcription with no assisted path, the user may be locked out before they can access the product at all.

Quick Reference

  • Do not block paste or password managers in login and recovery flows
  • Prefer passkeys, magic links, device approval, or password-manager-friendly flows
  • Support OTP autofill and paste with appropriate semantics such as autocomplete="one-time-code"
  • Avoid CAPTCHA or secondary checks that require memorizing or transcribing information without an alternative

Check

Review login, MFA, password reset, and account recovery for accessible authentication problems. Flag blocked paste, password-manager hostility, manual transcription requirements, inaccessible OTP handling, and CAPTCHA or knowledge checks without a compliant alternative.

Fix

Add password-manager-friendly fields, support paste and OTP autofill, and provide at least one authentication path that does not depend on a cognitive function test.

Explain

Explain WCAG Accessible Authentication, why memorization and transcription are barriers, and how passkeys, password managers, OTP autofill, and device approval improve both accessibility and security.

Code Review

Review authentication pages, MFA steps, recovery flows, and security controls related to Provide accessible authentication methods. Flag exact steps that require memorization, transcription, blocked assistive tooling, or inaccessible fallback paths.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/accessibility/accessible-authentication

常见问题

这项技能只检查主登录表单吗?

不是。这项技能说明要审查完整路径,包括两步验证、找回和重新登录。

什么能帮助无法记住验证码的人?

这项技能建议使用通行密钥(passkey)、魔法链接、设备确认以及密码管理器支持。

可以使用验证码吗?

只有在提供替代方案的前提下才可以,因为需要记忆或输入文字的验证码会阻挡部分用户。

详情

作者的原始描述

Use when reviewing sign-in, sign-up, MFA, CAPTCHA, recovery, and re-auth flows. Evaluate the full authentication path, including error handling and backup methods, not just the primary login form.

repo: thedaviddias/Front-End-Checklist

热度

GitHub 星标
75k
排名
#2709
许可证
MIT
更新时间
2026/10/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能