Test Your CSS with CSS
summary
Claims that CSS becomes a testing language with Behavior assertion sheets and a node module called bass that crawls thousands of pages, asserts things like HTTP status and color/structure, and outputs selector-precise failures. Built as a pure CSS superset, it finds hidden markup errors that validators miss, verifies WCAG 2AA coverage, integrates into CI, surfaces counts and locations of failures, and ships open source so the tool actually works on large government sites.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 1:00Accessibility
- 2:53Web Content Accessibility Guidelines
- 3:23The Problem
- 8:08The Selector
- 9:16Behavior assertion sheets
- 9:29What it looks like
- 9:52What are assertions
- 10:29What are functions
- 10:50What are selectors
- 11:08What are nesting
- 11:44What are rules
- 12:25Node module
- 12:52Invocation
- 13:09Output Format
- 14:22Exporting Results
- 14:43Writing Tests
- 20:14Open Source
- 21:45Rework
- 23:10Binding Data
- 24:33JSON
- 25:41Conclusion
related talks
42mAutomated CSS Testing
30mLet's Test Our CSS!
04mCSS tests
27mWriting Tests For CSS Is Possible! Don’t Believe The Rumors
29mDon’t Believe the Rumors Writing Tests for CSS is Possible
26mDon’t Believe the Rumors: Writing Tests for CSS is Possible
30mImplementing a Visual CSS Testing Framework
51mModern CSS Development: Tooling & Workflows
