ruby-ui / ruby-ui/ruby_ui

Carousel buttons have the wrong or missing screen-reader label

Open Beginner friendly
#540 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Ruby
Stars
1k
Forks
67
Avg merge
3d 12h
Merged PRs (30d)
14

Description

  • 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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with carousel_previous.rb and carousel_next.rb, then inspect snapshot carousel/vertical line 17 and the other carousel/* golden snapshots on the 2.0 line. Run the golden HTML suite and re-record carousel/*; done means the previous and next buttons have the correct screen-reader labels and the reviewed snapshot diff reflects them.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
accessibility
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.