Closed (fixed)
Project:
Drupal core
Version:
9.3.x-dev
Component:
Olivero theme
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Apr 2021 at 11:43 UTC
Updated:
1 Oct 2021 at 06:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
aaron.ferris commentedSeems these buttons are inheriting hover & focus styles from jQuery UI
core/assets/vendor/jquery.ui/themes/base/theme.cssFeels like we need to declare these properties in the
button:hover/button:focusrulesets.Comment #3
aaron.ferris commentedSomething like the attached patch.
I've checked this with both a button, and primary button inside a dialog and it seems to be OK - the
background: nonegets overridden by thebutton--primary:hover/focusrule.Comment #4
aaron.ferris commentedComment #5
sakthivel m commented@aaron.ferris Thanks for the patch, it applied successfully and looks good to me. I have attached video here.
marking as RTBC.
Comment #6
sakthivel m commentedComment #7
kiran.kadam911Patch works! Things are looking good after a patch.
Before patch:
After patch:
RTBC +1
Thanks!
Comment #8
lauriiiWould be great to have one of the subsystem maintainers review this change since it impacts all buttons using this variation.
Comment #10
mitthukumawat commentedPatch applied cleanly for me and resolved the issue of save button state on hover.
Comment #11
chetanbharambe commentedComment #12
chetanbharambe commentedVerified and tested patch #3.
Patch applied successfully and looks good to me.
Testing Steps:
# Goto: admin/content
# Create an article node.
# Add a comment.
# Click on the add link icon
# Add link there, hover on save button.
# On hover, button becomes a little small
Can be a move to RTBC.
Comment #13
chetanbharambe commentedComment #14
lauriiiMoving back to needs review to address #8.
Comment #15
mherchelComment #16
xjmI didn't check with tooling, but looking at the videos and screenshots, I strongly suspect the current behavior shows a contrast ratio violation. That makes this a major bug, an accessibility gate violation, and a stable blocker.
Comment #17
xjmComment #18
mherchelPatch #3 looks perfect. RTBC
Comment #19
lauriiiThis seems like a really nice improvement! I checked the color contrast of the color used on hover, and it seems like it's not sufficient. We should probably wait until #3211616: Olivero: a11y color contrast test fail for primary button on hover has landed and use the color from there on the hover.
Comment #20
gauravvvv commentedOn hover button is using
--color--blue-50variable, Updated it with newly added variable color--color--blue-10Please review.Comment #21
gauravvvv commentedComment #23
gauravvvv commentedAdded interdiff for #3. Please review
Comment #24
chetanbharambe commentedHi @Gauravmahlawat
Patch applied successfully but Some test cases are getting failed on patch #23
Testing Steps:
# Goto: admin/content
# Create an article node.
# Add a comment.
# Click on the add link icon
# Add link there, hover on save button.
# On hover, the button becomes a little small
Also, I have checked the variation which is addressed in #8
On hover button is using
--color--blue-50variable, Updated it with newly added variablecolor --color--blue-10Please refer attached screenshots for the same.
test cases are getting failed on patch #23 so moving to needs work as the patch needs to be re-rolled again.
Comment #25
andy-blumNew patch is sort of a reroll of #20. Non-reroll changes include:
Comment #26
andy-blumIt tends to help when you actually upload the patch.
Comment #27
mherchelTests failed :(
Comment #28
andy-blumComment #29
andy-blumComment #30
gauravvvv commentedPatch #28, resolved the jerk and color accessibility issue of the save button state on hover.
Adding after patch screen recording. Moving to RTBC.
Comment #33
lauriiiCommitted 8c2a124 and pushed to 9.3.x. Also cherry-picked to 9.2.x because Olivero is experimental. Thanks!