Skip to content

fix: improve accessibility of "Subtype vs Assignment" table #3393

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

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from

Conversation

rvedotrc
Copy link

@rvedotrc rvedotrc commented May 23, 2025

Currently, the two styles of tick are rather hard to distinguish: two similar shades of blue / green, and two similar font weights. This PR addresses that.

Before:

image

After:

image

The "only if not strict" is now indicated by "✓*" (as opposed to just "✓").

The ✓* is now the same colour as the ✓, the "main blue", since the "muted green" was really hard to distinguish anyway, so served no purpose.

It might even be better to have these marks changed to "✕*", and comment that it's not compatible as long as strictNullChecks is true. Even though it's not the default, I think it's probably recognised as being good practice.

@rvedotrc
Copy link
Author

@microsoft-github-policy-service agree

@rvedotrc rvedotrc marked this pull request as ready for review May 23, 2025 07:44
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.

1 participant