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

Explore improving the text-only zoom experience for GOV.UK Frontend #3680

Open
4 tasks
owenatgov opened this issue May 23, 2023 · 0 comments
Open
4 tasks

Explore improving the text-only zoom experience for GOV.UK Frontend #3680

owenatgov opened this issue May 23, 2023 · 0 comments

Comments

@owenatgov
Copy link
Contributor

What

Explore applying em sizing to all spacing on GOV.UK Frontend to theoretically improve the text-only zoom experience for components and styles.

Why

Whilst GOV.UK Frontend is built to accomadate standard browser zoom and provide a good experience for zoom users, browser also include features to "zoom" text only ie: increase the size of the text on the page but not the viewport ala standard browser zoom. The experience for text only zoom currently isn't great, with text often getting squashed within width containers that don't grow and reflow with the larger text.

Examples

Using the Check your answers full page example.

Chrome's default text size increase (set to Very Large):
Screenshot 2023-05-23 at 16 51 28

Safari's text zoom (roughly 400%)
Screenshot 2023-05-23 at 16 54 16
Screenshot 2023-05-23 at 16 54 30

Firefox's text only zoom (roughly 400%)
Screenshot 2023-05-23 at 17 00 48
Screenshot 2023-05-23 at 17 01 07

Previous issues

Where we've tried to tackle this already

Assumptions

  • Using em sizing will provide a good experience for text only zoom users
  • Replicating the appearance and behaviour of standard browser zoom in text only zoom is useful
  • Replicating the appearance and behaviour of standard browser zoom in text only zoom is feasible

Timebox

1 sprint

Questions to answer

  • What is the impact of replacing all instances of px with em or the govuk-em mixin?

Done when

  • Questions have been answered or we have a clearer idea of how to get to our goal
  • Findings have been reviewed and agreed with at least one other person
  • Findings have been shared, e.g: via a write-up on the ticket, at a show & tell or team meeting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant