government-frontend icon indicating copy to clipboard operation
government-frontend copied to clipboard

Update publication pages

Open chris-gds opened this issue 3 years ago • 0 comments

What

Apply the context_inside option to the title component to all publications, remove the word "overview" yet keep translations.

Why

Recently some work made the 'grey text' of publication pages h1. This provided various benefits including for screen readers and tabs. However, we only did this for pages where the title of the page and attachment are the same. For consistency this change applies to all publication pages. So that we don't have some pages that operate in one way, and others that do it differently. Also it adds benefits.

Visuals

image

Anything else

Checked against: http://government-frontend.dev.gov.uk/government/consultations/appraisal-periods-consultation

Add context title Consultation outcome: Appraisal periods consultation

http://government-frontend.dev.gov.uk/government/publications/information-superiority-jdn-213

Adds withdrawn and keep context title [Withdrawn] Guidance: Information superiority: more than managing information

http://government-frontend.dev.gov.uk/government/organisations/department-of-health-and-social-care/about

No context title About us - Department of Health and Social Care

http://government-frontend.dev.gov.uk/government/statistical-data-sets/cw010-proportion-of-residents-walking-or-cycling-at-least-once-a-month

Adds withdrawn and no context title (as not a publication or consultation) [Withdrawn] Proportion of residents who do any walking or cycling (at local authority level) (CW010)

Related PRs

https://github.com/alphagov/government-frontend/pull/2238/ https://github.com/alphagov/government-frontend/pull/2292

chris-gds avatar Nov 25 '21 14:11 chris-gds