codex-team/editor.js

Make editor accessible馃挕

Open

#1,510 opened on Jan 23, 2021

聽(4 comments)聽(8 reactions)聽(0 assignees)TypeScript聽(1,985 forks)batch import
good first issue

Repository metrics

Stars
聽(26,602 stars)
PR merge metrics
聽(No merged PRs in 30d)

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