Skip to content

Consider what to include by default as meta tags and icons #1194

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

Open
frankieroberto opened this issue Mar 17, 2025 · 1 comment
Open

Consider what to include by default as meta tags and icons #1194

frankieroberto opened this issue Mar 17, 2025 · 1 comment

Comments

@frankieroberto
Copy link
Contributor

The current page template contains these by default in the page template:

  <link rel="shortcut icon" href="/nhsuk-frontend/assets/favicons/favicon.ico" type="image/x-icon">
  <link rel="apple-touch-icon" href="/nhsuk-frontend/assets/favicons/apple-touch-icon-180x180.png">
  <link rel="mask-icon" href="/nhsuk-frontend/assets/favicons/favicon.svg" color="#005eb8">
  <link rel="icon" sizes="192x192" href="/nhsuk-frontend/assets/favicons/favicon-192x192.png">
  <meta name="msapplication-TileImage" content="/nhsuk-frontend/assets/favicons/mediumtile-144x144.png">
  <meta name="msapplication-TileColor" content="#005eb8">
  <meta name="msapplication-square70x70logo" content="/nhsuk-frontend/assets/favicons/smalltile-70x70.png">
  <meta name="msapplication-square150x150logo" content="/nhsuk-frontend/assets/favicons/mediumtile-150x150.png">
  <meta name="msapplication-wide310x150logo" content="/nhsuk-frontend/assets/favicons/widetile-310x150.png">
  <meta name="msapplication-square310x310logo" content="/nhsuk-frontend/assets/favicons/largetile-310x310.png">

We should consider whether these are still the most appropriate icon sizes and meta tags to include, or if they should be any updates to them.

For example:

  • are the msapplication-* tags still needed?
  • should <meta name="theme-color"> be added?
  • should we have a Pinned tab icon using <link rel="mask-icon">?
  • are there any other sizes of icons needed?
@frankieroberto
Copy link
Contributor Author

Helpful research from GOVUK team: alphagov/govuk-frontend#4175 (comment) (albeit a couple of years old)

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

No branches or pull requests

1 participant