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

Add Accessibility Testing to Design Tokens (NICE TO HAVE - Non critical) #657

Open
garrettbear opened this issue Apr 11, 2024 · 1 comment
Labels
team-design-system All issues relating to design system

Comments

@garrettbear
Copy link
Collaborator

garrettbear commented Apr 11, 2024

Title: Add Accessibility Testing to Design Tokens

Description

To ensure our design tokens meet accessibility standards, this ticket focuses on integrating accessibility testing into our design token workflow. This will help identify and rectify any accessibility issues early in the design process, particularly focusing on color contrast, typography readability, and overall compliance with WCAG guidelines.

Technical Details

  • Implement automated accessibility testing tools that can analyze the design tokens for compliance with WCAG 2.1 guidelines.
  • Set up tests for color contrast, font sizes, and spacing to ensure they meet accessibility standards.
  • Integrate these tests into our continuous integration (CI) pipeline to automatically run with every update to the design tokens.

Acceptance Criteria

  1. Automated accessibility testing with A11Y storybook plugin
  2. Created stories with a comprehensive text and background color combinations (and varying text size?, if not picked up automatically) - Call out every combination of text and background color. NICE TO HAVE: Add the contrast ratios for each combination
  3. Document what text/color combinations are not accessible - Any design tokens failing the accessibility tests are identified and documented.
  4. See attached screenshot for expected output.
@garrettbear garrettbear added the team-design-system All issues relating to design system label Apr 11, 2024
@garrettbear garrettbear self-assigned this Apr 11, 2024
@georgewrmarshall
Copy link
Collaborator

Screenshot 2024-04-15 at 9 56 18 AM

@desi desi changed the title Add Accessibility Testing to Design Tokens Add Accessibility Testing to Design Tokens (NICE TO HAVE - Non critical) Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-design-system All issues relating to design system
Projects
None yet
Development

No branches or pull requests

2 participants