Make WordPress Core

Opened 2 months ago

Last modified 2 months ago

#61984 new defect (bug)

Favicon • multiple of 48x48 and not 512x512 as WP suggests

Reported by: ofmarconi's profile ofmarconi Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords: reporter-feedback
Focuses: ui, administration Cc:

Description

Hello, if you read Google's documentation, it says that it should be a multiple of 48 and 512, right?

https://developers.google.com/search/docs/appearance/favicon-in-search

Please update the panel so that it doesn't lead all users to the same error. What's the problem? The icon is very small in Google search and it's also simply wrong not to be a multiple of 48.

Change History (7)

#1 @ofmarconi
2 months ago

*multiple of 48 and NOT 512, right?

#2 @Presskopp
2 months ago

For Chromium, you must provide at least a 192x192 pixel icon and a 512x512 pixel icon. If only those two icon sizes are provided, Chrome automatically scales the icons to fit the device. If you'd prefer to scale your own icons, and adjust them for pixel-perfection, provide icons in increments of 48dp.

https://web.dev/articles/add-manifest?hl=en#manifest-properties

An example on w3.org also uses the 512 size:

<link rel="icon" sizes="512x512" href="hi_def.png">

https://www.w3.org/TR/appmanifest/#example-linking-to-a-manifest

So it's not 'simply wrong', I'd say.

Last edited 2 months ago by Presskopp (previous) (diff)

#3 @ofmarconi
2 months ago

@Presskopp Thank you for your attention, yes, it is not simply wrong, I think the correct word would be incomplete, because in the example of w3.org, variations 48 are listed as 512, while in WP, only 512 exists by default.

I don't know if you have seen what happens in practice, but this is what happens here: https://i.postimg.cc/7hTmwVy9/image.png

The WP icon is much smaller than the default of other sites that comply with the recommendation.

#4 @hellofromTonya
2 months ago

  • Version 6.6.1 deleted

I'm doing triage for 6.6.x cycle. I don't think the Version that introduced this suggested size is from 6.6.1, as no changes were made to the favicon / site_icon code in this specific minor release. For now, clearing the Version. Once the version that introduced the code is known, then it can be updated for contextual history.

#5 @hellofromTonya
2 months ago

  • Keywords reporter-feedback added

Hello @ofmarconi,

Welcome to WordPress Core's Trac.

Could you please share which panel you're referring to?

Please update the panel so that it doesn't lead all users to the same error. What's the problem? The icon is very small in Google search and it's also simply wrong not to be a multiple of 48.

A screenshot can also be helpful for contributors. Thanks.

#6 @ofmarconi
2 months ago

Hello @hellofromTonya, you're right, I understood that it was to mark the version that was wrong and not the version that started the error, thanks for correcting (I have no idea when this wrong account was introduced).

Any way to add the Favico, it can be through the Appearance menu or through settings, WP will always suggest 512px which is not ideal for Google as described in its documentation, it needs to be a multiple of 48px

#7 @sabernhardt
2 months ago

  • Focuses accessibility removed
Note: See TracTickets for help on using tickets.