playwright-a11y-demo

Playwright For Accessibility Testing

๐Ÿ‘ฉ๐Ÿฝโ€๐Ÿ’ป | Import Visual Studio Code Profile

Use Profiles in Visual Studio Code to establish a consistent editor environment wherever you use VS Code (desktop, browser, codespaces). This is my Playwright-FYI profile, setup for use in this demo. You can import this to use it as your default profile when following this tutorial.


๐Ÿงช | Test jQuery UI v1.13.2 Demos

The jQuery UI site provides a download of their comprehensive list of demos we can use for testing. In Oct 2021 maintainers announced jQuery UI 1.13 will be the final release as they transition to more modern alternatives - however they note that 73% of the top 10M popular sites still run jQuery, making this a good target for compliance.

The ijQuery demos page has 28 components with addressable ids for individual testing:

1-accordion ยท 2-autocomplete ยท 3-button ยท 4-button-icon ยท 5-radioset ยท 6-radio1 ยท 7-radio2 ยท 8-radio3 ยท 9-controlgroup ยท 10-car-type ยท 11-transmission-standard ยท 12-transmission-automatic ยท 13-insurance ยท 14-horizontal-spinner ยท 15-tabs ยท 16-tabs-1 ยท 17-tabs-2 ยท 18-tabs-3 ยท 19-dialog-link ยท 20-dialog ยท 21-icons ยท 22-slider ยท 23-datepicker ยท 24-progressbar ยท 25-selectmenu ยท 26-spinner ยท 27-menu ยท 28-tooltip


๐Ÿงช | Test Bootstrap v5.3 Examples

While jQuery dominates the market with a ~75% share, Bootstrap comes in second with a consistent presence at ~21% - making it a good second target for accessibility compliance study.

The Boostrap 5.3 examples page provides the following 41 component-specific demo pages we can test.

1-album-rtl ยท 2-album ยท 3-badges ยท 4-blog-rtl ยท 5-blog ยท 6-breadcrumbs ยท 7-buttons ยท 8-carousel-rtl ยท 9-carousel ยท 10-cheatsheet-rtl ยท 11-cheatsheet ยท 12-checkout-rtl ยท 13-checkout ยท 14-cover ยท 15-dashboard-rtl ยท 16-dashboard ยท 17-dropdowns ยท 18-features ยท 19-footers ยท 20-grid ยท 21-headers ยท 22-heroes ยท 23-jumbotron ยท 24-jumbotrons ยท 25-list-groups ยท 26-masonry ยท 27-modals ยท 28-navbar-bottom ยท 29-navbar-fixed ยท 30-navbar-static ยท 31-navbars-offcanvas ยท 32-navbars ยท 33-offcanvas-navbar ยท 34-offcanvas ยท 35-pricing ยท 36-product ยท 37-sidebars ยท 38-sign-in ยท 39-starter-template ยท 40-sticky-footer-navbar ยท 41-sticky-footer


๐Ÿงช | Test Markdown Documentation

GitHub converts Markdown documents into static HTML when deploying to GitHub pages. To test Markdown-driven static sites, weโ€™ll use the steps folder - which happens to contain the steps for this demo/workshop.

ABOUT ๐Ÿ‘‰๐Ÿฝ | 1.1-Project Motivation ยท 1.2 Website Technologies ยท 1.3 Web Accessibility Content Guidelines ยท 1.4 aXe Testing Solution ยท 1.5 Playwright Testing Framework ยท 1.6 Assesment: Under the Hood ยท 1.7 Workflow: End-to-End Experience

SETUP ๐Ÿ‘‰๐Ÿฝ | 2.1 Environment