Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Switch is neither perceivable nor operable by assistive technology

オープン
#550 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

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

調査の方向性

Start with switch.rb and the controller that drives the switch state on the 2.0 line. Replace the hidden input approach and add the state reflected by aria-checked, then re-record and review the switch/* snapshots as the completion check.

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

説明

bug
  • Where: switch.rb: role: "switch" on the label with no aria-checked; the checkbox input carries class: "hidden peer" (display: none). Snapshots switch/*.
  • Effect: the switch role requires aria-checked; a display: none input leaves the accessibility tree and the tab order, so keyboard users cannot toggle it and the label's focus-visible: classes never apply.
  • Fix: render aria-checked and keep it in sync from the controller; sr-only instead of hidden so the input stays focusable; re-record switch/*.

Surfaced by the strict lane of the golden HTML suite (PR #548), 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 snapshots that pin it are re-recorded there with the diff reviewed.

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

主要言語
Ruby
スター
1k
フォーク
67
平均マージ
2日 19時間
マージ済み PR(30日)
18

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

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

はじめの一歩

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

ruby-ui/ruby_ui のほかの issue

ruby-ui/ruby_ui の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

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

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