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

Improve Button Color Contrast for WCAG AAA Compliance #8

Open
brylie opened this issue May 4, 2024 · 0 comments
Open

Improve Button Color Contrast for WCAG AAA Compliance #8

brylie opened this issue May 4, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@brylie
Copy link
Member

brylie commented May 4, 2024

The current button color combinations may not meet WCAG AAA contrast standards, making it difficult for users with visual impairments to distinguish the button text and perceive their selected states. We'll aim to leverage Flutter-specific tools where possible to ensure compliance and improve accessibility.

Tasks:

  • Investigate Flutter accessibility tools:
    • Research existing Flutter packages or DevTools features that can assist in analyzing and checking color contrast within Flutter widgets.
    • Some potential starting points:
  • Audit button color contrast:
  • Adjust colors:
    • Modify text and/or background colors as needed to ensure all button states comply with WCAG AAA contrast guidelines (minimum 7:1 ratio).
    • Prioritize darker text colors on lighter backgrounds for better legibility.
  • Document color choices:
    • Create a brief document or comment within the code outlining the color choices, their corresponding WCAG AAA contrast ratios, and the tools used.

Additional Considerations:

  • Dynamic color schemes: Explore tools or libraries that allow users to select high-contrast theme options for further accessibility.
  • Alternative visual cues: Consider adding icons or other visual indicators to supplement color changes for button states.

Benefits:

  • Accessibility: Ensures a significantly improved user experience for individuals with visual impairments.
  • Design: Often, high-contrast color choices enhance the overall visual design of the application.
  • Flutter-centric approach: Leverages the power of Flutter's ecosystem for accessibility analysis.
@brylie brylie added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant