github / github/markdown-toolbar-element

Buttons must have discernible text

Open
#43 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
411
Forks
60
Avg merge
2d 22h
Merged PRs (30d)
6

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.