Closed (fixed)
Project:
Drupal core
Version:
9.4.x-dev
Component:
ckeditor5.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2022 at 12:40 UTC
Updated:
17 Oct 2022 at 07:19 UTC
Jump to comment: Most recent, Most recent file



Comments
Comment #3
bnjmnmComment #5
wim leers(It's my understanding based on #3283803-12: [upstream] CKE5 toggleable toolbar items not enough contrast that this will not be changed upstream in CKEditor 5 because it'd be a visual regression. So I'm curious how different this looks.)
Comment #6
bnjmnm#5.1

Before
After

#5.2
Not blocked on anything 🙂. Just adding a stylesheet + style
Comment #7
wim leersThanks!
Comment #8
wim leersCode review
This could benefit from a comment explaining the rationale documented in this issue and the previous issue 🤓
Visual impact review
What is the impact on other buttons besides the ones that triggered this change?
Checked using https://ckeditor.com/ckeditor-5/demo/#document:
Conclusion: while this weakens the visual hierarchy and is arguably less pretty, it is not harmful while ensuring better accessibility.
Comment #12
lauriiiI tested manually with all of the buttons Drupal core ships with and I personally can see how this fixes a major accessibility problem. Some of the icons does look slightly less nice with this but I didn't personally feel it was significant. I hope this gets fixed in CKEditor 5 so that broader group of CKEditor 5 users gets to benefit from this.
Committed 226fa76 and pushed to 10.1.x. Also cherry-picked to 10.0.x and 9.5.x.Thanks!
Comment #15
wim leersThe fix should still be backported to
9.4.x.Will provide a patch. Currently not cleanly cherry-pickable. So determining what the optimal cherry-pick order is …
Comment #16
wim leersDoes not cleanly apply to
9.4.xbecause #3291047: Move Quick Edit-specific styling of CKEditor 4 & 5 into Quick Edit module was committed only to Drupal >=9.5 (rightly so). Trivial conflict to resolve inckeditor5.libraries.ymlthough :)Comment #18
lauriiiCommitted 26c3757 and pushed to 9.4.x. Thanks!