Skip to content

Comments

Improve overall accessibility#4365

Merged
dimaMachina merged 31 commits intoshuding:mainfrom
clicktodev:accessible-colors
Apr 9, 2025
Merged

Improve overall accessibility#4365
dimaMachina merged 31 commits intoshuding:mainfrom
clicktodev:accessible-colors

Conversation

@clicktodev
Copy link
Contributor

@clicktodev clicktodev commented Mar 19, 2025

Why:

makes text easier to read and achieves WCAG Level AAA compliance in many places

What's being changed (if available, include any code snippets, screenshots, or gifs):

before
image

after
image

Check off the following:

  • I have reviewed my changes in staging, available via the View
    deployment
    link in this PR's timeline (this link will be available after
    opening the PR).

@vercel
Copy link

vercel bot commented Mar 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nextra-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2025 10:47pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
nextra ⬜️ Ignored (Inspect) Visit Preview Apr 9, 2025 10:47pm

@vercel
Copy link

vercel bot commented Mar 19, 2025

@hichemfantar is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot
Copy link

changeset-bot bot commented Mar 19, 2025

🦋 Changeset detected

Latest commit: b101ff1

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@clicktodev clicktodev changed the title Update text color in breadcrumb, sidebar, and search components for improved accessibility Update text color in several components for improved accessibility Mar 20, 2025
@clicktodev clicktodev changed the title Update text color in several components for improved accessibility Improve overall accessibility Mar 20, 2025
dimaMachina

This comment was marked as resolved.

@dimaMachina

This comment was marked as resolved.

@clicktodev

This comment was marked as resolved.

@clicktodev

This comment was marked as resolved.

Comment on lines 12 to 17
@apply x:before:text-neutral-600 x:dark:before:text-neutral-400;
@apply x:before:border-gray-200 x:dark:before:border-neutral-700;
&:before {
@apply x:absolute x:size-[33px];
@apply x:border-4 x:border-nextra-bg;
@apply x:rounded-full x:text-neutral-400 x:text-base x:font-normal x:text-center x:-indent-px;
@apply x:border-4;
@apply x:rounded-full x:text-base x:font-normal x:text-center x:-indent-px;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't like at all the new steps styling, I prefer to roll back all changes to Steps as well as for Banner

Copy link
Contributor Author

Choose a reason for hiding this comment

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

are you sure, borders for step counters is pretty common https://mantine.dev/core/stepper/

or have a bg instead of a border https://mui.com/material-ui/react-stepper/#linear

Copy link
Collaborator

Choose a reason for hiding this comment

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

I would prefer to stay with the current "style", minimalistic similar to shadcn https://ui.shadcn.com/docs/components/accordion#installation

Copy link
Collaborator

@dimaMachina dimaMachina left a comment

Choose a reason for hiding this comment

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

Verified every change in your PR overall LGTM to me, feel free to reply wdyt about my change in #4365 (comment) and feel free to improve bg/text color on steps component #4365 (comment)

And I will merge it! Sorry for taking time to merging your work!

@clicktodev
Copy link
Contributor Author

lgtm!

@dimaMachina dimaMachina merged commit c134abe into shuding:main Apr 9, 2025
5 of 9 checks passed
@clicktodev clicktodev deleted the accessible-colors branch April 9, 2025 22:47
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.

2 participants