What it does
A label built from an element's classes caps the count it keeps, so whichever class matched the selector can sit past the cut and never appear in its own finding.
How it helps you
Findings name the element they're about, which makes them quick to fix.
Tested against itself
3 deliberate breaks, all caught
We change this check on purpose and watch its test fail. Each dot is one of those changes.
Details
| Category | Test quality |
|---|---|
| Also filed under | Code quality |
| Checks in this category | 264 |
| ISO/IEC 25010 | Maintainability: testability |
| Breaks caught | 3 |