accessability improvements

This commit is contained in:
vulpine 2020-12-13 21:09:39 -05:00
parent d37319a589
commit 860cbdd42d
1 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,9 @@
<!DOCTYPE HTML>
<html lang="en">
<link rel="stylesheet" type="text/css" href="assets/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="generator" content="lickthecheese/p-view">
<meta name="generator" content="xfnw/p-view">
<meta name="description" content="a tiny php script to automagically display photos">
<title>p-view</title>
<h1>p-view</h1>
tiny script to automagically display all the photos in a directory with php
@ -28,7 +30,7 @@ $anchor = str_replace(" ", "", $title);
<a name="<?php echo $anchor; ?>" href="#<?php echo $anchor; ?>"><?php echo $title; ?></a>
</h1>
<img width="100%" loading="lazy" src="<?php echo $image; ?>">
<img width="100%" loading="lazy" src="<?php echo $image; ?>" alt="<?php echo $title;?>">
</div>
@ -36,4 +38,4 @@ $anchor = str_replace(" ", "", $title);
}
?>
</html>