Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove headline on govspeak #6020

Merged
merged 1 commit into from
Mar 11, 2021
Merged

Remove headline on govspeak #6020

merged 1 commit into from
Mar 11, 2021

Conversation

chris-gds
Copy link
Contributor

@chris-gds chris-gds commented Mar 8, 2021

What?

Altering headline on Contact address while using govspeak

Why?

This could appear anywhere in the page and therefore the heading tag might not be in a logical order causing an a11y issue.

How to test

On the Whitehall publisher App:
Integration Link
Dev link

Use something like: u[Contact:1] in body to create a new Contact snippet and preview the result.

Visuals

After > Before
Screenshot 2021-03-08 at 17 16 40

Anything else?

Other examples appear here:

/world/organisations/british-antarctic-territory (Dev link)

Before > After
image

Related PR

@chris-gds chris-gds requested review from maxgds, owenatgov and injms March 8, 2021 17:42
@chris-gds chris-gds marked this pull request as ready for review March 8, 2021 17:43
@chris-gds chris-gds marked this pull request as draft March 8, 2021 18:38
@chris-gds chris-gds force-pushed the update-to-govspeak branch 9 times, most recently from dfd1080 to d25af70 Compare March 9, 2021 17:47
Changing h3 to p from Contact address while using govspeak as this could appear anywhere in the page and the h3 might not be in a logical order therefore causing an a11y issue + updating tests
@chris-gds chris-gds force-pushed the update-to-govspeak branch from d25af70 to 5d46e3c Compare March 9, 2021 18:08
@chris-gds chris-gds marked this pull request as ready for review March 9, 2021 18:24
@chris-gds chris-gds merged commit db6459e into master Mar 11, 2021
@chris-gds chris-gds deleted the update-to-govspeak branch March 11, 2021 11:18
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.

2 participants