fix accessibility warnings
This commit is contained in:
parent
56e2b2313a
commit
938a77d279
|
@ -147,8 +147,9 @@ if ($min_digits) {
|
|||
// Print out Javascript code and exit
|
||||
$len = strlen($count);
|
||||
for ($i = 0; $i < $len; $i++) {
|
||||
$url = $base_url . $style_dir . substr($count, $i, 1) . '.' . $ext;
|
||||
echo 'document.write(\'<img src="'. $url .'" border="0" />\');';
|
||||
$digit = substr($count, $i, 1);
|
||||
$url = $base_url . $style_dir . $digit . '.' . $ext;
|
||||
echo 'document.write(\'<img alt="'. $digit .'" src="'. $url .'" border="0" />\');';
|
||||
}
|
||||
|
||||
exit();
|
||||
|
|
|
@ -53,7 +53,7 @@ $taglines = file("taglines.txt");
|
|||
<div>
|
||||
<hr>
|
||||
<strong>
|
||||
<h3>play with some ascii art</h3>
|
||||
<h2>play with some ascii art</h2>
|
||||
</strong>
|
||||
<form>
|
||||
<div>
|
||||
|
@ -85,7 +85,7 @@ $taglines = file("taglines.txt");
|
|||
<hr>
|
||||
|
||||
|
||||
<h3>page hits as of jan 2020</h3>
|
||||
<h2>page hits as of jan 2020</h2>
|
||||
<script type="text/javascript" src="counter/gcount.php?page=index"></script>
|
||||
|
||||
<hr>
|
||||
|
|
Loading…
Reference in New Issue