codex-team/editor.js

Make editor accessible💡

オヌプン

#1,510 opened on 2021/01/23

 (4 件のコメント) (8 件のリアクション) (0 人の担圓者)TypeScript (1,985 件のフォヌク)batch import
good first issue

Repository metrics

Stars
 (26,602 個のスタヌ)
PR merge metrics
 (30d に merged PR はありたせん)

説明

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.

コントリビュヌタヌガむド