reactjs / reactjs/react.dev

[Bug]: Homepage has accessibility issues in both light/dark mode for all devices

未关闭
#7,233 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug: unconfirmed
主要语言
JavaScript
星标
11.8k
派生
7.9k
平均合并
1 天 11 小时
30 天内合并 PR
11

描述

Summary

To Reproduce Steps to reproduce the behavior:

  1. Go to home page
  2. Run accessibility check (I used AxeDevTools - see screenshots below of issue)
  3. Repeat for dark mode

Expected behavior: Expect no accessibility issues

Page

https://react.dev/

Details

Mobile: Light Mode

mobile_light_before

Mobile: Dark Mode

mobile_dark_before

Desktop: Light Mode

desktop_light_before

Desktop: Dark Mode

desktop_dark_before

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先在 https://react.dev/ 上运行 AxeDevTools,分别使用移动端和桌面端视图,并按照 issue 中所示在浅色和深色模式下重复检查。使用报告的违规项和屏幕截图来定位受影响的主页元素;当无障碍检查在全部四种组合中都未报告任何问题时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, react
领域
accessibility, documentation
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。