Altinity / Altinity/altinity-sql-browser
Accessibility pass: ARIA on menus/autocomplete/tabs, aria-live on errors, visible focus rings
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 8
- フォーク
- 2
- 平均マージ
- 1時間 34分
- マージ済み PR(30日)
- 6
説明
Part of #68 (Roadmap to 1.0.0) — should-have. The substantial one.
Problem
The app has almost no accessibility affordances — ~11 a11y attributes across all of src/ (mostly tabindex, one aria-hidden). For a complex SQL IDE this is a significant screen-reader and keyboard-navigation gap.
Scope
- ARIA semantics on the custom widgets so assistive tech announces them correctly:
- autocomplete dropdown →
listbox/option+aria-activedescendant(src/ui/editor-complete.js) - File menu and the user/save popovers →
menu/menuitem(src/ui/file-menu.js,app.jsanchoredPopover) - query tab strip →
tablist/tab(src/ui/tabs.js)
- autocomplete dropdown →
aria-liveon the toast / error region so query errors and "session expired" are announced, not just shown (src/ui/toast.js).- Visible keyboard-focus rings everywhere
outline:noneis set without a replacement (src/styles.css:158,165,320,408,454,528,535,…). Today, tabbing through some controls shows no focus indicator.
Acceptance
- Screen reader announces the autocomplete, menus, and tabs with correct roles/state.
- Errors/toasts are announced via
aria-live. - Every interactive control shows a visible focus ring on keyboard focus.
-
npm testgreen at the per-file coverage gate.
Largest of the 1.0 should-haves; worth its own focused pass + a screen-reader/keyboard test.
Folded in from the roadmap (#68) nice-to-haves:
- Honor
prefers-reduced-motion— a@media (prefers-reduced-motion: reduce)block that disables/limits transitions and animations (chart updates, hovers) for users who've set reduce-motion in their OS.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず src/ui/editor-complete.js、src/ui/file-menu.js、app.js、src/ui/tabs.js、src/ui/toast.js、および src/styles.css にある、記載されている outline:none ルールを読んでください。npm test を実行してファイルごとのカバレッジゲートを理解し、その後、記載されているスクリーンリーダー、キーボードフォーカス、aria-live、モーション削減の受け入れ基準を、言及されているスクリーンリーダー/キーボードテストで確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- css, javascript
- 領域
- accessibility, frontend, testing-qa
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100