chore: updating design tokens to 1.13 includes accessibility updates#8402
chore: updating design tokens to 1.13 includes accessibility updates#8402georgewrmarshall wants to merge 1 commit intomainfrom
Conversation
…cessibility color improvements
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@metamask/design-tokens@1.12.0 |
|
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎ To accept the risk, merge this PR and you will not be notified again.
Next stepsWhat are unpublished packages?Package version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry. Packages can be removed from the registry by manually un-publishing, a security issue removal, or may simply never have been published to the registry. Reliance on these packages will cause problem when they are not found. Take a deeper look at the dependencyTake a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev. Remove the packageIf you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency. Mark a package as acceptable riskTo ignore an alert, reply with a comment starting with
|
|
Closing in favor of #8510 |
Description
This PR updates the design-tokens package to
v1.13.0, introducing accessibility enhancements to various color categories, includingwarning/default,success/default, and inverse colors. Additionally, it incorporates pressed tokens.For a detailed overview of the color updates, please refer to this PR in the design-tokens repository.
The accessibility improvements ensure that:
warning/defaultcolor now meets WCAG AA color contrast requirements.success/defaultcolor now meets WCAG AA color contrast requirements.primary/inverse,error/inverse,success/inverse, andinfo/inversecolors in dark mode now meets WCAG AA color contrast requirements.These updates enhance the accessibility and user experience for vision impaired folks in mobile.
Related issues
Related: https://github.com/MetaMask/metamask-extension#workspaces/design-system-61e8a2ae77c3a60012e5003c/issues/zh/329
Manual testing steps
The easiest way to review these accessibility updates is to check storybook
index.jsScreenshots/Recordings
Before
TBC
After
TBC
Pre-merge author checklist
Pre-merge reviewer checklist