tagName) !== 'table') { return null; } if ($element->hasAttribute('summary')) { return $this->createViolation( $element, $this->getDescription(), 'Remove the summary attribute. Use the element or aria-describedby instead.' ); } return null; } }