Slack Boosts Accessibility Efforts with Automated Testing
Slack recently launched a significant stride towards enhancing the user experience of individuals with disabilities by integrating automated accessibility testing into its software development lifecycle. This move underscores the company’s commitment to Web Content Accessibility Guidelines (WCAG) and sets new standards for web accessibility in the tech industry.
Natalie Stormann’s Insights on Slack’s Journey
Natalie Stormann, a Software Engineer at Slack, shared an in-depth account of their testing journey in Slack’s engineering blog. Stormann highlighted the company’s adherence to WCAG, an internationally recognized framework for web accessibility. Slack uses internal standards and collaborates with external testers to ensure its products meet high accessibility standards.
Though manual testing remains essential for catching nuanced issues, Slack acknowledged the need for automation. In 2022, the company began incorporating automated tests into its development process. Their initiative focused on proactively addressing accessibility concerns by leveraging the widely-used accessibility tool, Axe.
Integrating Axe into Slack’s Development Workflow
Slack selected Axe for its flexibility and alignment with WCAG. However, integrating Axe into Slack’s existing test frameworks presented several challenges. Initially, embedding Axe checks into React Testing Library (RTL) and Jest caused conflicts. These issues complicated the development process.
To overcome these obstacles, Slack explored alternative solutions. They chose Playwright, a testing framework compatible with Axe via the @axe-core/playwright package. This decision required resolving unique challenges, such as integrating Axe checks into Playwright’s Locator object. The Slack accessibility team strategically added accessibility checks in Playwright tests after key user interactions to ensure content was fully rendered.
Customized Approach for Seamless Testing
Slack customized Axe checks by filtering out irrelevant rules and initially prioritizing critical violations. The team integrated checks into Playwright’s fixture model and provided developers with a custom function runAxeAndSaveViolations to trigger checks within test specifications.
Community Feedback on Slack’s Efforts
The tech community on Hacker News took notice of Slack’s efforts. One of the maintainers of the Axe accessibility testing engine, with the username dbjorge, praised Slack’s detailed write-up. Dbjorge highlighted how insightful their approach was and how it captured which features the Slack team considered important.
It’s awesome to see such a detailed writeup of how folks are building on our team’s work…. It’s very enlightening to see which features the Slack folks prioritized for their setup and to see some of the stuff they were able to do by going deep on integration with Playwright specifically.
Dbjorge’s feedback acknowledged the valuable investment Slack made in its accessibility features.
Looking Ahead: AI and Future Accessibility Improvements
To further enhance their accessibility testing process, Slack implements regular audits to avoid duplicate checks. They also explore AI-driven solutions to automate this process. Future plans include creating blocking tests for core functionalities such as keyboard navigation and using AI to refine test results.
Additionally, Slack aims to automate the placement of accessibility checks, ensuring no critical features are overlooked in future updates. These plans demonstrate the Slack team’s ongoing commitment to improving the digital experience for individuals with disabilities.
Conclusion
Slack’s integration of automated accessibility testing into its software development lifecycle represents a significant leap toward better accessibility. By adopting a balanced approach of automation and manual testing, the company sets an example for other tech organizations.
The success of Slack’s efforts culminates from their strategic partnership with industry-leading tools, custom development, community feedback, and continuous improvement. This initiative not only enhances user experience but also strengthens Slack’s reputation in the competitive tech landscape.
As the demand for accessible digital experiences continues to grow, we can expect Slack and other tech companies to follow suit and invest in similar accessibility features.
What’s Your Take?
Have you noticed improvements in accessibility on your favorite tech platforms? Share your thoughts in the comments below. Don’t forget to subscribe to Archynetys for more insightful articles like this. And if you found this article helpful, please share it on social media!
