element is obsolete and non-accessible. Use modern HTML5 elements instead.'; } public function getStandard(): WCAGStandard { return WCAGStandard::A; } public function getSeverity(): Severity { return Severity::ERROR; } public function getLevel(): int { return 1; } public function check(DOMElement $element): ?Violation { if (strtolower($element->tagName) === 'applet') { return $this->createViolation( $element, $this->getDescription(), 'Remove the element and replace it with modern HTML5 or accessible media embeddings.' ); } return null; } }