UCDL Accessibility Use Case Definition Language
Contents

Writing Accessibility Use Case Tests with @afixt/usecase-runner

What You're Writing and Why

@afixt/usecase-runner lets you describe how a user interacts with a web application in plain YAML. Each file describes a single "use case" — a sequence of steps a user takes to accomplish a goal, like logging in, filling out a form, or navigating a menu.

The key difference from other test frameworks: every step targets elements by their ARIA role and accessible name, never by CSS selectors or XPath. If your test can't find an element, that's an accessibility bug in the application, not a limitation of the tool.