Code for solution is going to be ported from another project.
Problem/Motivation
Groups of radio buttons and checkboxes are not marked up in a group using a fieldset or group role.
Ensure all groups of radio buttons or checkboxes (where they are multiple checkboxes for a question) are marked up following the recommendation.
Acceptance criteria
AC 1 - Radios
Given I’m an anonymous user
And I’m using screen reader technology
When I am interacting with radio buttons on a webform
Then the inputs are inside a
And the first element has a tag
AC 2 - Checkboxes
Given I’m an anonymous user
And I’m using screen reader technology
When I am interacting with checboxes on a webform
Then the inputs are inside a
And the first element has a tag
Proposed resolution
| Comment | File | Size | Author |
|---|
Comments
Comment #2
fionamorrison23 commentedComment #3
fionamorrison23 commentedComment #4
fionamorrison23 commentedComment #5
fionamorrison23 commentedComment #6
richardgaunt commented@danielgry I have feeling this was fixed in a version previously but can you check that checkboxes and radios are grouped in a fieldset.
Comment #7
danielgry commentedVerified and tested on dev
Testing results:
1. Verified radio buttons in forms are wrapped in a fieldset - PASS
2. Verified checkboxes in forms are wrapped in a fieldset - PASS
3. Confirmed keyboard navigation through radio and checkbox buttons works as intended - PASS
Screenshots:

Radio buttons:
Checkbox buttons:

Comment #8
danielgry commentedComment #9
richardgaunt commented