ruby-ui / ruby-ui/ruby_ui

Carousel buttons have the wrong or missing screen-reader label

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

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

bug
主要言語
Ruby
スター
1k
フォーク
67
平均マージ
3日 12時間
マージ済み PR(30日)
14

説明

  • Where: carousel_previous.rb renders span.sr-only "Next slide";
    carousel_next.rb renders no sr-only span at all. Snapshot
    carousel/vertical line 17.
  • Effect: a screen reader announces the previous button as "Next slide"
    and the next button as unlabeled.
  • Fix: "Previous slide" on the previous button, add "Next slide" to the
    next button; re-record (on the 2.0 line) carousel/*.

Surfaced by the golden HTML suite (PR #536), which pins what 1.6 renders today — this defect included. Per maintainer decision (2026-09-19) main stays as is: this is addressed on the 2.0 line, and the golden snapshot that pins it is re-recorded there with the diff reviewed.

Source: design/v2/follow-up-issues.md.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

carousel_previous.rb と carousel_next.rb から始め、次に 17 行目の snapshot carousel/vertical と、2.0 ラインにある他の carousel/* の golden snapshot を確認します。golden HTML suite を実行して carousel/* を再記録します。前へボタンと次へボタンに正しいスクリーンリーダー用ラベルが付き、確認済みの snapshot diff にそれらが反映されていれば完了です。

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

評価

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

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

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