Carousel buttons have the wrong or missing screen-reader label
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 1k
- Forks
- 67
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 14
Description
- Where:
carousel_previous.rbrendersspan.sr-only "Next slide";
carousel_next.rbrenders nosr-onlyspan at all. Snapshot
carousel/verticalline 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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