Adopt a WCAG 2.1 AA accessibility gate
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 56/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- playwright, storybook, typescript
- 领域
- accessibility, ci-cd, testing-qa
调研方向
先检查现有的 e2e.yml 和 Storybook/test-app 设置,然后比较 sam-styles 和 ngx-uswds 中的 playwright.a11y.config.{mjs,ts} 与 npm run test:a11y 模式。为 stories 添加基于 axe-core 的门禁,并验证 CI 强制执行 WCAG 2.1 AA,而不只是提供 smoke coverage。
由索引模型根据 Issue 内容生成。
描述
Context
The angular-upgrade-dashboard's quality metrics table (https://gsa.github.io/angular-upgrade-dashboard/#metrics) reports an accessibility gate for sam-styles and ngx-uswds, both of which run playwright test --config=playwright.a11y.config.{mjs,ts} (npm run test:a11y) as a CI gate enforcing WCAG 2.1 AA. sam-ui-elements has no equivalent — only a Playwright smoke test (e2e.yml) with no accessibility assertions — so the dashboard reports not enforced.
Ask
Add an axe-core-backed a11y gate against the Storybook/test-app stories, mirroring the playwright.a11y.config approach already proven in sam-styles and ngx-uswds. Given sam-ui-elements is the most actively upgraded library in this epic, closing this gap here has the highest near-term value of the four repos.
Filed as a sub-issue of the pipeline modernization epic; found while building the dashboard's quality metrics grid.
- 主要语言
- TypeScript
- 星标
- 8
- 派生
- 34
- 平均合并
- 2 天 14 小时
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
GSA/sam-ui-elements 的其他 Issue
-
github_actions security
难度 2/5 半天 新手友好度 88/100
GSA/sam-ui-elements#761 ·
维护者通常 1 天内回复
-
disablePageTabIndex() sets aria-hidden on the focused calendar button, and enablePageTabIndex() never removes it可能重新可做 关联的 PR 已关闭且未合并。 未关闭bugfix
难度 4/5 3-5 天 新手友好度 68/100
GSA/sam-ui-elements#682 ·
维护者通常 1 天内回复
-
bugfix
难度 4/5 3-5 天 新手友好度 48/100
GSA/sam-ui-elements#681 ·
维护者通常 1 天内回复
-
Burn down ESLint and Angular lint debt可能重新可做 @fpigeonjr 于 66 天前认领,目前没有进行中的 PR。 未关闭angular-upgrade maintenance
GSA/sam-ui-elements#580 · 已指派 1 人 ·
维护者通常 1 天内回复
-
sam-ui-elements pipeline modernization + Angular 19→21 upgrade (SAM Angular upgrade — 4th tracer bullet) — IAEMOD-61187可能重新可做 @fpigeonjr 于 78 天前认领,目前没有进行中的 PR。 未关闭angular-upgrade maintenance
GSA/sam-ui-elements#562 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 GSA/sam-ui-elements 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
enhancement tech debt
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
privatenumber/tsx#866 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
danielmiessler/LifeOS#2533 ·
维护者通常 9 天内回复
-
auto:producer auto:uiux
难度 2/5 1-3 小时 新手友好度 78/100
fritzprix/libr-agent#2447 ·
维护者通常 1 天内回复