Problem/Motivation

The anchor tag inside the Layout Builder's add block off-canvas is not visible on hover, and the default state's color contrast ratio of 1.67 is failing.

Steps to reproduce

1. Click on the add block button in the bottom of the layout page
2. In the off canvas you will see the link is not accessible on hover as well as on default state.
3. Added screenshot for same

Proposed resolution

Update the color of anchor with good contrast ratio to the background color.

Remaining tasks

User interface changes

Yes

API changes

Data model changes

Issue fork lb_plus-3426245

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Gauravvvv created an issue. See original summary.

gauravvvv’s picture

Status: Active » Needs review
adwivedi008’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new14.17 KB
new13.96 KB

Replicated the issue at D-10 Seems MR at #2 Resolves the issue mentioned

Adding screenshot before and after the MR

Moving the issue to RTBC.

tim bozeman’s picture

Status: Reviewed & tested by the community » Postponed

Hmm, interesting. I like the white cause I usually use really dark background colors for the UI elements. What if people like lighter color ones? Maybe we should make all the text colors configurable? 🤔

tim bozeman’s picture

Status: Postponed » Closed (outdated)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.