github / github/erblint-github
Update svg accessible name guidance
- 主要语言
- Ruby
- 星标
- 66
- 派生
- 9
- 平均合并
- 9 小时 26 分钟
- 30 天内合并 PR
- 2
描述
```
1. Add a `` inside the SVG, with the alt text/name.
2. Give the `<title>` an ID.
3. Apply `aria-labelledby` to the SVG, pointing to the ID of the `<title>` inside of it.
```
This approach has maximum compatibility and should be recommended above all other approaches. Not sure if we would necessarily want to flag the other approaches as errors though... 🤔
[GitHub Staff-only link svg-alt-text](https://github.com/github/accessibility/pull/2273/files)
贡献指南
调研方向
Review the repository's current SVG accessible-name guidance and compare it with the linked GitHub accessibility reference. Decide how the title, ID, and aria-labelledby pattern should be recommended and how alternative approaches should be treated; done means the guidance reflects that decision.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- ruby
- 领域
- accessibility, documentation
- Issue 类型
- 文档
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100