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

Automated accessibility testing #4

Open
Ayko1595 opened this issue Nov 6, 2023 · 1 comment
Open

Automated accessibility testing #4

Ayko1595 opened this issue Nov 6, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Ayko1595
Copy link
Collaborator

Ayko1595 commented Nov 6, 2023

Contact Details

[email protected]

What benefits does the suggestion solve?

This project is intended for use in the public sector, where stringent accessibility requirements must be met. By implementing automated accessibility testing, we address several key benefits:

  • Efficiency: Automated testing allows us to quickly identify accessibility issues, ensuring a more streamlined development process.
  • Accuracy: Automation reduces the reliance on manual testing, minimizing the chances of missing critical accessibility issues, which can lead to costly corrections at later stages.
  • Compliance: Automated testing helps us proactively adhere to accessibility standards and regulations, ensuring that the project remains in full compliance.
  • Cost-Effectiveness: With automated testing, we can identify and fix issues earlier in the development cycle, reducing the overall cost of accessibility compliance.
  • Consistency: Automated testing provides a consistent and standardized approach to accessibility assessment, ensuring a higher level of quality throughout the project.
  • Risk Reduction: By reducing false positives and false negatives, automated testing helps mitigate the risk of non-compliance and potential legal issues in the public sector.

In summary, implementing automated accessibility testing is a crucial step towards meeting accessibility requirements efficiently and effectively, ensuring the success of this project in the public sector."

Feature suggestion description

This could potentially be achieved by using the following tools:

  • React Testing Library
  • Jest
  • Axe-core

All of which are widely used and known frontend libraries.

Alternative solutions

No response

Additional information

No response

@Ayko1595 Ayko1595 added the enhancement New feature or request label Nov 6, 2023
@Ayko1595
Copy link
Collaborator Author

Unfortunately, this does not seem to be able to catch all necessary accessibility violations, such as color contrast, because the installed dependencies render the DOM headless. Instead of testing color contrasts it shows this message:

{
  id: 'color-contrast',
  impact: null,
  description: 'Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds',
  message: "`TypeError: Cannot read properties of null (reading 'canvas')` - feature unsupported in your environment. Skipping color-contrast rule.",
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant