Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Update heading levels on Your Information page #714

Merged
merged 1 commit into from
Mar 3, 2021

Conversation

danacotoran
Copy link
Contributor

@danacotoran danacotoran commented Mar 1, 2021

Update the radio groups' headings to h3 (previously h2) on the "Your information" page.

This fixes an accessibility issue highlighted in the DAC report, wherein the heading structure on the "Your information" consent page is flat, despite hierarchical relationships being present.

Screenshot 2021-03-01 at 16 20 45


Depends on this PR which adds the option to pass a custom heading level to the radio group alphagov/govuk_publishing_components#1951 MERGED


https://trello.com/c/lNkwruEi/647-fix-accessibility-issues-raised-by-dac (this corresponds to Headings (A) page 21 on the checklist)

This fixes an accessibility issue highlighted in the DAC report, wherein
the heading structure on the "Your information" consent page is flat,
despite hierarchical relationships being present.
Updating the radio groups' headings to h3 (previously h2) addresses this
issue.
@andysellick
Copy link
Contributor

I assume we've already bumped to the version of the gem with this feature in it?

@danacotoran
Copy link
Contributor Author

I assume we've already bumped to the version of the gem with this feature in it?

@andysellick Indeed we have #718

Thanks for approving 🙏🏼

@danacotoran danacotoran merged commit 69d6e33 into main Mar 3, 2021
@danacotoran danacotoran deleted the a11y-fix-headings branch March 3, 2021 10:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants