github / github/markdown-toolbar-element

Buttons must have discernible text

Aperta
#43 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
411
Fork
60
Merge medio
2g 22h
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.