github / github/markdown-toolbar-element
Buttons must have discernible text
未关闭
- 主要语言
- JavaScript
- 星标
- 411
- 派生
- 60
- 平均合并
- 2 天 22 小时
- 30 天内合并 PR
- 6
描述
Just as we set the `role=button` for the markdown buttons:
https://github.com/github/markdown-toolbar-element/blob/731b52a7e400260a693ff745ddf3e5984a42b411/src/index.ts#L100-L102
We should also give them [discernible text][1] if it's not already set.
[1]: https://dequeuniversity.com/rules/axe/4.0/button-name?application=axeAPI
贡献指南
评估
这个 Issue 还没有评估数据。