kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Bloom Player's page-turn buttons show no focus indicator

Open rtibblesbot opened this issue 1 week ago • 0 comments

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Target branch: develop

Observed behavior

  • When the next- or previous-page button in a Bloom book has keyboard focus, it looks the same as when it does not.
  • The bundle renders the button as a MUI IconButton with className:"nav-button",disableRipple:!0. The player CSS has no :focus rule for .nav-button, .swiper-button-next or .swiper-button-prev.
  • release-v0.20.x's older fork bundle, bloomPlayer-02a77592459cdf0b1bd7.min.js, also renders the button with disableRipple:!0.

Expected behavior

A focus indicator, as WCAG 2.4.7 (Focus Visible, level AA) requires.

User-facing consequences

A learner paging a Bloom book with Tab and Enter cannot see where focus is.

Steps to reproduce

  1. On develop at 758605b764, import the Bloom folder of the Kolibri QA Channel (token nakav-mafak).
  2. Open "Стаза од давнина" in Learn > Library > Kolibri QA Channel > Bloom > bloompub.
  3. Press Tab four times: focus moves through "Choose Language", "PlayPause" and the page text, then to the round button right of the page.
  4. That button looks the same as before it had focus. Pressing Enter turns the page.

Context

Acceptance Criteria

  • [ ] With keyboard focus, the next- and previous-page buttons show an indicator that the unfocused buttons do not.
  • [ ] The indicator shows in a left-to-right book and in a right-to-left book.

AI usage

Claude Code found this during manual QA of the #16025 backport: it paged the book by keyboard, compared captures of the focused and unfocused button, and read both bundles. It drafted this issue.

rtibblesbot avatar Nov 26 '26 07:11 rtibblesbot