codex-team/editor.js

Make editor accessible💡

Offen

#1.510 geöffnet am 23.01.2021

 (4 Kommentare) (8 Reaktionen) (0 zugewiesene Personen)TypeScript (1.985 Forks)batch import
good first issue

Repository-Metriken

Stars
 (26.602 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Currently the editor is not accessible for screen readers because:

  1. It does not provide accessible names for interative elements.
  2. It relies on non-iteractive elements for interaction.

Proposed solution:

  1. Add accessible names to interactive elements via aria-label attribute or visually hidden text.
  2. Add role="button" attribute to all interactive elements or (better) use button tag instead of div.
  3. Add aria-hidden="true" and focusable="false" to SVG icons.

Contributor Guide