Pitch page: slide changes are not announced and the Space key is hijacked globally

オープン 初心者向け
#144 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript

調査の方向性

web/app/pitch/page.tsx から始めてください。そこではウィンドウ全体の keydown ハンドラがスペースキーで preventDefault() を呼び出しています。このハンドラを矢印キーのみに限定するか、どのコントロールもフォーカスを持っていない場合にのみスペースキーを対象にしてください。次に、"Slide N of M: title" を通知する polite なライブリージョンを追加し、アクティブなドットに aria-current を設定します。フォーカスされたボタン上でスペースを押したときにそのボタンだけが作動し、スライド切り替えが通知され、マウスと矢印キーによる移動が引き続き機能すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

a11y difficulty: beginner good first issue help wanted web

Difficulty: Beginner

Problem

web/app/pitch/page.tsx registers a window-level key handler that calls preventDefault() on Space. This overrides normal Space behaviour (activating a focused button, scrolling), and slide changes are not announced to screen readers (no aria-live). The dot navigation buttons have no aria-current state.

Why it matters

Keyboard and screen-reader users cannot use the deck reliably.

Scope of work

Only handle the arrow keys (or Space only when no control is focused), announce "Slide N of M: title" in a polite live region, and set aria-current="true" on the active dot.

Expected outcome

The pitch page is fully usable with a keyboard and a screen reader.

Acceptance criteria

  • Space on a focused button activates that button and nothing else.
  • Slide changes are announced.
  • The active dot exposes aria-current.
  • Mouse and arrow-key navigation still work.

Relevant files

  • web/app/pitch/page.tsx

Dependencies

Distinct from #18 (modals and filters).

Maintainer discussion needed?

No.

主要言語
TypeScript
スター
0
フォーク
4
平均マージ
54分
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Yormee-103/PayLoop のほかの issue

Yormee-103/PayLoop の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。