Skip to content

Fix/a11y issues #2136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 20, 2025
Merged

Fix/a11y issues #2136

merged 4 commits into from
Aug 20, 2025

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 👌)

@@ -11,7 +11,7 @@ body {
--font-size-small-screen: 14px;
--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