-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Animated backend site logo. (instead of the W logo seen one can see the site logo.) #38575
Comments
Tested in 6 alpha and Gutenberg 12.6.20220207. Animation remains the same. I'm not a fan of this animation. I wonder if there are accessibility implications. Is the goal of animation to show on:hover? If so, what else could achieve that effect more subtly? |
Is this the site logo or the site icon? If logo, then it might explain why I was having trouble over at #38555. |
Hey @carlomanf Actually I am not sure if it is the site logo or the site icon.... I tried adding a site logo and then a site icon to another test site and was not able to get it to show instead of the W. |
These are site icons, set in Customizer before switching to a block theme. However the animation is still there. Changing Site Logo didn't change my site icon. |
I don't know which version of gutenberg is implemented, but I was able to reflect the site logo and site icon on the block editor by following the steps below.
As for the mouse-over animation, it seems to have been done as part of #33132 to improve interaction. But for some reason, it only animates when an "original site logo" is used. gutenberg/packages/edit-post/src/components/header/fullscreen-mode-close/index.js Lines 68 to 77 in 39649d5
I like the animation, but I think the presence or absence of animation should be consistent for both the default logo and the original logo. |
@paaljoachim Was the gutenberg plugin activated or deactivated? |
Retesting. Switched to Twenty Twenty Two site editing theme. Activated the Gutenberg plugin. 12.5.3. The site icon should show up but it should not be animated. Adding a site icon when FSE theme is activated is done through the Site Logo sidebar options. Add a site logo, add an image and click the toggle "Use as site icon" the W (static) is then switched with the new site icon (animated). It looks like one can not turn off "Use as site icon" to get the default W back. |
I agree, the animation doesn't seem 100% fitting, maybe just an opacity over, or border color change around the site icon there. |
Yeah the animation does seem arbitrary and feel a bit distracting. |
Can we (for now anyway) just remove the animation? Backport to WP 5.9.1? |
Personally, I don't think this needs to be included in a minor release. We can fix in plugin and ship with 6.0. /cc-ing @mtias, since I know he worked on animations recently. |
Created PR (#38702) in case this gets picked up for 5.9.1. |
I added the Backport to minor label just in case we can get it into 5.9.1. |
We should add a label to the PR. |
Animations can already be suspended if "reduced motion" is in place. |
Hey @mtias Matias. I believe "reduced motion" is this: https://a11y-101.com/development/reduced-motion I will assume from what you are saying is that if one is disturbed by the animated site icon and can not wait for WP 6.0 then one will need to manually turn on reduced motion. |
Gotcha thanks for clearing that up Joen. If there still are disagreements regarding the animation. Perhaps we can lessen it substantially and also add a much lighter animation to the W site icon? To keep a consistent feel to the site icon on hover. |
Yes, sorry, was just bringing it up for the accessibility concern. We can definitely tweak and improve things! Animation finesse can be very subjective. |
Thanks Matias! Just thought I would add the following feedback from the Accessibility Slack channel. In general it feels like we need an animation discussion. |
Joen made a much smoother and a little more subtitle animation. |
Description
Hovering over the backend Site logo (when the W is not in use) I have noticed it becomes animated.
Like so:
It would be very helpful if the site logo automatically fills out the square it is in and does not animate.
The animation is kinda disturbing.
Step-by-step reproduction instructions
Add a Site logo, and see if it happens to become animated when hovering over it.
Hmm I am sorry but I am having a difficult time figuring out how the site logo got there in the first place.
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 5.9.
Gutenberg plugin 12.5.3
Twenty Twenty Two. (I have switched between various themes.)
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: