github / github/markdown-toolbar-element

Buttons must have discernible text

未关闭
#43 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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 还没有评估数据。

把新 issue 发到你的邮箱

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