codex-team/editor.js

Make editor accessible💡

開放

#1,510 建立於 2021年1月23日

 (4 則留言) (8 個反應) (0 位負責人)TypeScript (1,985 個分叉)batch import
good first issue

倉庫指標

星標
 (26,602 顆星)
PR 合併指標
 (30 天內沒有已合併 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.

貢獻者指南