Skip to content

VoiceOver - text box labels and complex question reads - #28

Merged
JoeArmani merged 2 commits into
mainfrom
1079-popover-accessibility
Nov 4, 2026
Merged

JoeArmani merged 2 commits into
mainfrom
1079-popover-accessibility

Conversation

@JoeArmani

Copy link
Copy Markdown

Related: episphere/connect#1079

VoiceOver refinements:
•Handle complex question reads (questions with bolded words and popovers mid sentence)
•Refine text input labels (labels were reading unnecessary text).
•Add more regression tests.

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.

🟡 Changes recommended

Stylesheet-hidden prompt fragments can be announced by screen readers, while ID collision checks miss live-page elements, allowing duplicate IDs that may cause aria-labelledby to resolve to unrelated text.

2 open issues
What changed in this PR

This PR refines Quest’s VoiceOver support by improving complete-question announcements and separating choice labels from numeric guidance, supporting the accessibility work tracked in #1079.

Changes:

  • Adds reusable focus targets for static prompts containing inline help.
  • Separates numeric hints from choice names and improves selected-response validation contrast.
  • Expands regression tests and English/Spanish manual screen-reader scenarios.
File Description
tests/​integration/​staticHelpQuestionFocus.spec.js Tests prompt-focus eligibility, reuse, and fallback behavior.
tests/​integration/​choiceNumberDescriptions.spec.js Tests numeric hint placement and choice naming.
tests/​fixtures/​canonical/​tapWaterNumberSpanish.txt Adds the Spanish manual numeric-label fixture.
tests/​fixtures/​canonical/​tapWaterNumber.txt Adds the English manual numeric-label fixture.
tests/​e2e/​popoverAccessibility.spec.js Tests full-prompt focus, navigation, and modal dismissal.
tests/​e2e/​manualAccessibilityUrls.spec.js Verifies both new manual fixture URLs.
tests/​e2e/​choiceNumberDescriptions.spec.js Tests accessible names, validation styling, and response persistence.
Style1.css Improves validation contrast in selected responses and forced-colors mode.
questionProcessor.js Separates generated numeric hints and assigns choice caption references.
docs/​accessibilityManualTest.md Updates VoiceOver checks and documents numeric-label retests.
accessibleQuestionTextBuilder.js Adds static prompt focus targets and caption-based selection announcements.

Review effort: Balanced

Comment thread accessibleQuestionTextBuilder.js Resolved
Comment thread questionProcessor.js Resolved

@anthonypetersen anthonypetersen 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.

looks good!

@JoeArmani
JoeArmani merged commit c7b62e5 into main Nov 4, 2026
6 checks passed
@JoeArmani
JoeArmani deleted the 1079-popover-accessibility branch November 4, 2026 16:55
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