patternfly / patternfly/patternfly-react
[react] Resolve violations for WCAG 2.2 a11y tool bump
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 862
- 派生
- 392
- 平均合并
- 4 天 8 小时
- 30 天内合并 PR
- 9
描述
Describe the enhancement or change
Follow up to #12296
All reported 2.2AA errors are target-size violations. The common trend behind these errors is the placement of sibling Checkboxes and Radios in our examples.
Component issues:
-
ClipboardCopy: inline + compact clipboard copies that contain additional actions. Needs additional spacing between the internal copy action and additional actions, and possibly between additional actions as well.
-
Checkbox: sibling checkboxes. Needs additional spacing.
-
Label: the following needs additional spacing between actionable elements
- All labels that are links or clickable with the close button
- All compact labels (base, link, clickable) with the close button
- Editable labels with the close button
-
Truncate: truncated links and sibling truncated links
Example-only target-size violations due to checkboxes/radios:
-
Card
-
CodeEditor
-
Drawer
-
FileUpload, both Single and Multiple
-
Modal
-
Progress
-
ProgressStepper
-
Popover
-
SearchInput
-
Select (templates tab)
-
Table (demos tab) - specifically demos contain truncated links
-
Tooltip
CodeEditor was also getting a couple contrast violations for the monaco text colors in light theme.
Jira Issue: PF-4439
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先对列出的组件示例运行可访问性检查,重点关注涉及同级 Checkboxes、Radios、链接和操作的目标尺寸违规。检查 ClipboardCopy、Checkbox、Label、Truncate、指定的示例组件和 CodeEditor;当报告的 2.2AA 目标尺寸违规以及 CodeEditor 浅色主题的对比度违规都得到解决时,工作即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react, typescript
- 领域
- accessibility, frontend, testing
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100