Skip to content

Refine announcement: popover inside response - #29

Merged
JoeArmani merged 1 commit into
mainfrom
1079-response-popover-labels
Nov 4, 2026
Merged

JoeArmani merged 1 commit into
mainfrom
1079-response-popover-labels

Conversation

@JoeArmani

Copy link
Copy Markdown

Related: episphere/connect#1079

Refine VoiceOver announcement for questions with popover inside a response.

•Was announcing the popover and popover-related attributes as "[popover name] and [count] more items."
•This update removes the "and [count] more items" part to avoid confusion.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Manual VoiceOver validation on macOS and iOS is needed because DOM and accessible-name assertions cannot confirm that “and N more items” is no longer announced while inline help remains discoverable and operable.

No open issues 🎉

What changed in this PR

Refines accessible names for static radio responses containing inline popovers to avoid VoiceOver’s confusing “and [count] more items” announcement.

Changes:

  • Adds flat accessible names for eligible responses while preserving label markup, host-provided names, and existing behavior for dynamic content.
  • Adds integration coverage for name refresh, visibility changes, and host overrides.
  • Extends English and Spanish browser checks for accessible names during popover interaction and navigation.
File Description
tests/​integration/​responseHelpNames.spec.js Tests eligibility, generated-name lifecycle, and preservation of existing names.
tests/​e2e/​productionMarkupFidelity.spec.js Checks bilingual response names, formatting, and navigation persistence.
accessibleQuestionTextBuilder.js Generates and refreshes accessible names for eligible static responses with inline help.

Review effort: Balanced

@JoeArmani

Copy link
Copy Markdown
Author

🔵 Needs a closer look

Manual VoiceOver validation on macOS and iOS is needed because DOM and accessible-name assertions cannot confirm that “and N more items” is no longer announced while inline help remains discoverable and operable.

Confirmed behavior in manual testing with VoiceOver on in Safari.

@JoeArmani
JoeArmani merged commit 9afe913 into main Nov 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants