Managing a theme for Drupal written in PHP, and the PHP syntax is throwing false positives for accessibility errors. For instance:
<?php print $title; ?>
Throws a "Heading tag found with no content" error like this:
<h2 class="title" id="page-title"><!--?php print $title; ?--></h2>
Does an option exist that marks this code syntax as content, or will we have to wade through hundreds of false positives?
Managing a theme for Drupal written in PHP, and the PHP syntax is throwing false positives for accessibility errors. For instance:
<?php print $title; ?>
Throws a "Heading tag found with no content" error like this:
<h2 class="title" id="page-title"><!--?php print $title; ?--></h2>
Does an option exist that marks this code syntax as content, or will we have to wade through hundreds of false positives?