UKHO / admiralty-design-system

MIT License
4 stars 0 forks source link

[BUG] Radio buttons were not adequately grouped programmatically. #208

Open KatiePUX opened 1 month ago

KatiePUX commented 1 month ago

Describe the bug Ungrouped radio buttons are encountered when completing sections of the service. This instance can be found with the radio buttons below the question ‘has the data been interpolated?’. Radio buttons have not been adequately grouped through accessible roles, or a fieldset and legend, which meant that screen reader users were not able to find related information out of context, instead they found ‘yes’ and ‘no’ buttons, which required further investigation in context around the components to extrapolate their purpose.

Expected behavior Ungrouped content affects the information relayed to screen reader users and makes additional navigation required and increases the risk of error for these user groups. In this instance, we suggest adding a fieldset and legend to group the relating heading and components.

Additional context DAC report page 24 -26 High priority WCAG A

KatiePUX commented 1 month ago

Team Kai have noted in the Xcel spreadsheet that this impacts 2 of the radio groups on the data collection page - 1 for interpolated data and the other for coordinate type