Skip to main content

New article: Test-driven HTML and accessibility

I wrote a new article for the 2023 HTMHell Advent Calendar called Test-driven HTML and accessibility.

I've been wanting to share my new approach to unit testing JavaScript and I'm really happy with how this article turned out.

For most of this year, I've been exploring the full potential of Test-Driven Development (TDD) in my work and found a tool called Web Test Runner that allows me to run unit tests directly in the browser. This makes testing HTML and user interaction in the DOM possible, which opens up a whole new way to do accessibility testing.

Learn more about this setup with helpful examples: Test-driven HTML and accessibility

While you're there, check out all the other great articles for the HTMHell Advent Calendar!

Here are some of my favorites so far: