codex-team/editor.js

Make editor accessible馃挕

Open

#1,510 opened on Jan 23, 2021

View on GitHub
聽(4 comments)聽(8 reactions)聽(0 assignees)TypeScript聽(26,602 stars)聽(1,985 forks)batch import
good first issue

Description

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

Make editor accessible馃挕 路 codex-team/editor.js#1510 | Good First Issue