github / github/markdown-toolbar-element

Buttons must have discernible text

Offen
#43 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
411
Forks
60
Ø Merge
2 T. 22 Std.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start in src/index.ts around lines 100-102, where the markdown buttons receive their button role, and review the linked axe button-name guidance. Ensure buttons without existing accessible names have discernible text, then verify that every markdown button meets the linked criterion.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
accessibility, frontend
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.