kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

The Perseus definition popover has no accessible name and an untranslated "Close Popover" button

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: release-v0.20.x

Observed behavior

  • Opening a definition word shows a dialog with no accessible name or description: Wonder Blocks' Popover points aria-labelledby/aria-describedby at ids only PopoverContent renders, and Perseus's definition.tsx uses PopoverContentCore with no aria-label.
  • The dialog's close button reads Close Popover in every interface language: definition.tsx passes no closeButtonLabel.
  • Same on Perseus 78.2.0 (release-v0.20.x), 87.2.2 (develop) and Khan/perseus main; Perseus exposes no prop for either.

Expected behavior

  • The dialog is named by the defined word, and the close button reads a translated label.

User-facing consequences

  • Screen-reader users hear an unnamed dialog and an English close button.

Steps to reproduce

  1. Import Kolibri QA Channel (95a52b386f2c485cb97dd60901674a98), open Geometría > Identifica figuras, Q1, take hint 1.
  2. Activate polígono.
  3. Inspect the opened dialog: no accessible name; its close button is named Close Popover.

Context

  • release-v0.20.x at e3b074b70f plus #16061; develop's working definition widget behaves the same.

Acceptance Criteria

  • [ ] The open definition dialog's accessible name is the defined word, and its description is the definition text.
  • [ ] The close button's accessible name is translated in a non-English interface.

AI usage

Claude Code found this while fixing #16054, checked it against the Perseus and Wonder Blocks sources and drafted this issue.

rtibblesbot avatar Nov 26 '26 12:11 rtibblesbot