addRule(new BlinkTagBanned()); $violations = $scanner->scan('
'); $this->assertCount(1, $violations); $this->assertSame('WCAG_2_2_2_BLINK', $violations[0]->ruleId); } public function testPassesNormalSpan(): void { $scanner = new Scanner(); $scanner->addRule(new BlinkTagBanned()); $violations = $scanner->scan('