Improve UI contrast and selection visibility for better accessibility#6447
Improve UI contrast and selection visibility for better accessibility#6447sachin9919 wants to merge 1 commit intosugarlabs:masterfrom
Conversation
|
✅ All Jest tests passed! This PR is ready to merge. |
|
@sachin9919 . this PR is helpful for dark mode .. tested this LGTM
|
There is an existing focus available for the palette. we dont need the blue focus again! please refer PR #5681 for the real problem and solution. |
|
i feel we need mentor feedback on this |
|
Hi everyone, thanks for the feedback! I understand the concern regarding the existing focus styling and the reference to PR #5681. My intention with this PR is slightly different — it is specifically aimed at improving color contrast and visibility, especially for users with color vision deficiencies. Currently, the hover/active states in the sidebar and palette are quite subtle and difficult to distinguish (particularly for color-blind users). The changes I proposed focus on: Improving contrast between background and active elements This is not meant to duplicate the existing focus behavior, but rather to address a usability gap in visibility and accessibility. That said, I’m completely open to aligning with the preferred approach. If the direction should be adjusted (for example, modifying existing styles instead of adding new ones), I’d be happy to update the implementation accordingly. Would appreciate guidance from mentors on whether improving contrast for accessibility in this way aligns with the project direction. Thanks! |
|
I honestly think white highlight on a black background is pretty good both in terms of UI and usability. Thats what we currently have. |
|
Thanks for the clarification! I agree that the current white highlight on a dark background works well in general and is clean from a UI perspective. My observation was mainly from an accessibility point of view — in some cases (especially for users with certain types of color vision deficiencies or low contrast sensitivity), the difference between states can still feel subtle during quick interactions. That said, I completely understand your point and I don’t want to introduce unnecessary visual changes if the current approach is already sufficient. Would it make sense to:
Happy to refine or scale down the changes based on what aligns best with the project’s design direction. Thanks again for the feedback! |


Description
Improved the UI contrast and selection visibility across the sidebar and block panels to enhance accessibility, especially for users with color vision deficiencies.
PR Category
Changes
Issue
Fixes #6430
Before
After