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

Add guidance about keeping panel heading brief #1901

Closed
1 task
hannalaakso opened this issue Sep 27, 2021 · 0 comments · Fixed by #1906
Closed
1 task

Add guidance about keeping panel heading brief #1901

hannalaakso opened this issue Sep 27, 2021 · 0 comments · Fixed by #1906

Comments

@hannalaakso
Copy link
Member

hannalaakso commented Sep 27, 2021

What

We fixed the panel heading text potentially overflowing its container when user zooms in on a mobile device at a high magnification in alphagov/govuk-frontend#2347.

We could consider adding something to the panel guidance about how the heading text should be kept to the point and (if it isn't too weird to specify this in the guidance) using shorter words as these are less likely to wrap, and how the description text below should be used to give more detailed information and context about the transaction.

Why

This will help to mitigate the heading text wrapping when user zooms in on a mobile device at a high magnification.

Additionally, the heading text is only meant to give a high level overview of what has happened so it makes sense to keep the wording snappy.

Who needs to know about this

Content writer, possibly a developer

Done when

  • We have added some guidance to the Design System about the need to keep the panel heading text brief, and possibly something about how the description text below should be used to give more detailed information and context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants