openedx / openedx/xblocks-core

WCAG - Question Content Not Programmatically Associated With Answer Choices

Open
#300 0 comments 0 reactions 1 assignee View on GitHub

@jesusbalderramawgu is already working on this.

Since Sep 11, 2026.

Dominant language
Python
Stars
0
Forks
15
Avg merge
5d 16m
Merged PRs (30d)
7

Description

Background

WCAG: 1.3.1 Info and Relationships (A)
Severity: Significant · Type: Content · Persistence: Partial
Location: D269 Section 1: Test and Summary Questions 2 and 5

Actual result

Portions of certain question prompts are not programmatically associated with their corresponding radio button or checkbox answer sets.

Expected result

All question content and instructional text that applies to an answer group should be programmatically associated with the corresponding form controls so it is announced when users navigate through answer options.

Recommendation

Associate all relevant question text with answer groups using semantic fieldsets and legends, or appropriate ARIA relationships.

Acceptance criteria

Question/instructional text is programmatically associated with its answer group (fieldset/legend or equivalent ARIA).

References

WCAG 1.3.1 Info and Relationships
Asset: D269 Section 1: Test and Summary Questions 2 and 5
Parent epic: ENG45-780

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.