Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix/a11y issues#2136

Merged
jdeniau merged 4 commits into
immutable-js:mainimmutable-js/immutable-js:mainfrom
lyannel:fix/a11y-issueslyannel/immutable-js:fix/a11y-issuesCopy head branch name to clipboard
Aug 20, 2025
Merged

Fix/a11y issues#2136
jdeniau merged 4 commits into
immutable-js:mainimmutable-js/immutable-js:mainfrom
lyannel:fix/a11y-issueslyannel/immutable-js:fix/a11y-issuesCopy head branch name to clipboard

Conversation

@lyannel

@lyannel lyannel commented Aug 8, 2025

Copy link
Copy Markdown

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
Copy Markdown

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

jdeniau commented Aug 15, 2025

Copy link
Copy Markdown
Member

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
Copy Markdown
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

jdeniau commented Aug 20, 2025

Copy link
Copy Markdown
Member

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.