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

Open
#16,059 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
15/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
css, html, javascript

Research direction

Start with the Bloom Player bundle at kolibri/plugins/bloompub_viewer/static/bloom/bloomPlayer-36bc45961ea5d0da87f9.js and the player CSS; the issue says the buttons use MUI IconButton with ripples disabled and no focus rule for the navigation selectors. Compare focused and unfocused page buttons in both left-to-right and right-to-left books. Done when both buttons show a visible focus indicator in either direction; the issue is marked as not open for contribution.

Written by the indexing model from the issue text.

Description

APP: Learn bug DEV: renderers

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

Dominant language
Python
Stars
1.2k
Forks
1.1k
Avg merge
2d 9h
Merged PRs (30d)
87

Getting set up

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.

More from learningequality/kolibri

All issues in learningequality/kolibri

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.