Update of /cvsroot/phpweather/web
In directory usw-pr-cvs1:/tmp/cvs-serv5663
Modified Files:
index.php
Log Message:
Alternate text for the images.
Index: index.php
===================================================================
RCS file: /cvsroot/phpweather/web/index.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- index.php 25 Mar 2002 22:10:17 -0000 1.14
+++ index.php 26 Mar 2002 22:00:21 -0000 1.15
@@ -22,11 +22,11 @@
echo '<p>Current weather in ' . $weather->get_location() . ': <br />' .
'<img src="' . $images->get_sky_image() .
- '" height="50" width="80" border="1"> ' .
+ '" height="50" width="80" border="1" alt="Current weather"> ' .
'<img src="' . $images->get_winddir_image() .
- '" height="40" width="40" border="1"> ' .
+ '" height="40" width="40" border="1" alt="Current wind"> ' .
'<img src="' . $images->get_temp_image() .
- '" height="50" width="20" border="1"></p>';
+ '" height="50" width="20" border="1" alt="Current temperature"></p>';
echo "<p>A textual report looks like this:</p>\n";
@@ -118,11 +118,11 @@
echo "<blockquote>\n";
echo '<img src="' . $icons->get_sky_image() .
- '" height="50" width="80" border="1"> ';
+ '" height="50" width="80" border="1" alt="Current weather"> ';
echo '<img src="' . $icons->get_winddir_image() .
- '" height="40" width="40" border="1"> ';
+ '" height="40" width="40" border="1" alt="Current wind"> ';
echo '<img src="' . $icons->get_temp_image() .
- '" height="50" width="20" border="1">';
+ '" height="50" width="20" border="1" alt="Current temperature">';
echo "</blockquote>\n";
|