Skip to content
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

[docs] Fix the color contrast on optional API methods #34127

Merged

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Aug 29, 2022

A quick win. I noticed this issue while I was looking into the API of the data grid, the text is unreadable (I was outside ☀):

Screenshot 2022-08-30 at 01 12 42

https://mui.com/x/api/data-grid/grid-col-def/.

It fails the contrast ratio thresholds:

Screenshot 2022-08-30 at 01 13 12

https://webaim.org/resources/contrastchecker/?fcolor=A5B3FF&bcolor=FFFFFF

After

Screenshot 2022-08-30 at 01 14 19

Screenshot 2022-08-30 at 01 14 31

@oliviertassinari oliviertassinari added docs Improvements or additions to the documentation bug 🐛 Something doesn't work accessibility a11y labels Aug 29, 2022
@mui-bot
Copy link

mui-bot commented Aug 29, 2022

No bundle size changes

Generated by 🚫 dangerJS against 1390872

@oliviertassinari oliviertassinari added the design This is about UI or UX design, please involve a designer label Aug 30, 2022
@oliviertassinari oliviertassinari merged commit 0f88b86 into mui:master Sep 2, 2022
@oliviertassinari oliviertassinari deleted the fix-color-contrast-api-x branch September 2, 2022 12:50
@oliviertassinari
Copy link
Member Author

A bug fix for the docs of MUI X 😁, enjoy cc @flaviendelangle.

@flaviendelangle
Copy link
Member

@oliviertassinari do we agree that we just have to update the monorepo ? I don't see any change that we should replicate on our repo.

@oliviertassinari
Copy link
Member Author

@flaviendelangle Correct

daniel-rabe pushed a commit to daniel-rabe/material-ui that referenced this pull request Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility a11y bug 🐛 Something doesn't work design This is about UI or UX design, please involve a designer docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants