Skip to content

Conversation

@lyannel
Copy link

@lyannel lyannel commented Aug 8, 2025

Description

  • Fixed 90% of a11y issues that were related to color contrast issues on v5 docs page

Before

Before

After

After Screenshot 2025-08-08 at 1 18 06 PM Screenshot 2025-08-08 at 1 15 33 PM Screenshot 2025-08-08 at 1 17 55 PM Screenshot 2025-08-08 at 1 10 53 PM Screenshot 2025-08-08 at 1 15 42 PM Screenshot 2025-08-08 at 1 10 46 PM

@lyannel lyannel marked this pull request as draft August 8, 2025 19:49
@lyannel lyannel marked this pull request as ready for review August 8, 2025 20:29
@iambumblehead
Copy link

I'm just lurking here, but want to say this looks great. The "After" screenshot does look more readable, without significantly altering the look-and-feel of things.

@jdeniau
Copy link
Member

jdeniau commented Aug 15, 2025

I'm on holiday right now, but thanks a lot for the effort!
It looks really promising and I will probably merge this soon after having a look on a real computer instead of my mobile phone.

For what it's worth, there is a dark mode available too if you want to look at it too (if not no problem 👌)

--header-content-padding: 12px;

--link-color: #4183c4;
--link-color: #355B7E;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This make contrast 7:1, this is nice for accessibility, but it make the link less visible as a link (it's nearly the same color as the text).

I changed to a 4.5:1 so it's still AA, but more understandable that it's a link.

@jdeniau jdeniau merged commit 2f299fe into immutable-js:main Aug 20, 2025
5 checks passed
@jdeniau
Copy link
Member

jdeniau commented Aug 20, 2025

Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants