kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

[epub_viewer] Progress slider is missing aria-valuetext

Open vtushar06 opened this issue 7 months ago • 4 comments

🙂 Looking for an issue? Welcome! This issue is open for contribution. If this is the first time you’re requesting an issue, please:

  • Read Contributing guidelines carefully. Pay extra attention to Using generative AI. Pull requests and comments that don’t follow the guidelines won’t be answered.
  • Confirm that you’ve read the guidelines in your comment.

Target branch: develop

Observed behavior

The EPUB reader's progress slider (BottomBar.vue#L22-L31) has no aria-valuetext. Chrome DevTools' Accessibility panel shows "Value description" as empty:

Image

User-facing consequences

Screen reader users (VoiceOver, NVDA) hear only the raw number (e.g. "23") instead of a reading position.

Steps to reproduce

  1. Open an EPUB resource in Learn and wait for the progress bar at the bottom to load.
  2. In Chrome DevTools, select the <input type="range"> element and open the Accessibility tab.
  3. "Value description" is empty.

Acceptance Criteria

  • [ ] The slider's aria-valuetext is the reading position as a locale-formatted percentage (e.g. "23%"), produced with vue-intl's $formatNumber(fraction, { style: 'percent' }), the call that already renders the percentage beside the slider at BottomBar.vue#L17-L19.
  • [ ] __tests__/BottomBar.spec.js asserts aria-valuetext for at least two sliderValues.

AI usage

I wrote this issue report myself based on what I observed.

vtushar06 avatar Apr 20 '26 06:04 vtushar06

Hey @rtibbles, can you look into this and need your guidance before I move forward.

vtushar06 avatar Apr 20 '26 06:04 vtushar06

Hi! 👋

This issue is available for contribution and supports self-assignment. Here's how to get started:

  • Comment /assign to assign yourself to this issue
  • You can have up to 2 issues assigned at a time across all community repos
  • Dropping an issue has a 7-day cooldown before the slot opens up
  • Link your pull request to this issue when you submit it

📖 Read the Contributing guidelines before starting.

Are you preparing for Google Summer of Code? See our GSoC guidelines.

learning-equality-bot avatar Sep 30 '26 02:09 learning-equality-bot

/assign

rishiraj38 avatar Sep 30 '26 04:09 rishiraj38

Hi! 👋

You've been assigned to this issue. Here's what to do next:

  • Read the issue description carefully and make sure you understand the requirements
  • Link your pull request to this issue when you submit it
  • If you can no longer work on this, unassign yourself so others can pick it up

Good luck! 😊

Are you preparing for Google Summer of Code? See our GSoC guidelines.

learning-equality-bot avatar Sep 30 '26 04:09 learning-equality-bot