[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [atlas/master] Fix W3C markup validation service issues



commit 699a6e42b1962bb0a42e38f4041c1867a88b56f8
Author: cypherpunks <cypherpunks@xxxxxxxxxxxxxx>
Date:   Fri Jan 13 20:53:05 2017 +0000

    Fix W3C markup validation service issues
    
    The W3C markup validation service shows the following errors
    - An `img` element must have an `alt` attribute.
    - Bad value for attribute `action` on element `form`.
    
    Closes ticket 21234.
---
 index.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/index.html b/index.html
index ad18030..a5034ab 100644
--- a/index.html
+++ b/index.html
@@ -35,13 +35,13 @@
     <div class="navbar navbar-fixed-top">
       <div class="navbar-inner">
         <div class="container">
-          <a class="brand" href="#"><img src="img/atlas.png"/></a>
+          <a class="brand" href="#"><img src="img/atlas.png" alt="Home" /></a>
           <ul class="nav navbar-nav">
             <li><a href="#/">Home</a></li>
             <li><a href="#/about">About</a></li>
             <li><a href="#/top10">Top 10 Relays</a></li>
           </ul>
-            <form id="nav-search" class="navbar-search pull-right" action>
+            <form id="nav-search" class="navbar-search pull-right" action="">
                 <input type="text" class="search-query" placeholder="Search">
             </form>
         </div>
@@ -50,7 +50,7 @@
 
     <div class="container">
       <div id="loading" style="display: none">
-        <img src="img/loader.gif" />
+        <img src="img/loader.gif" alt="Loading content" />
       </div>
       <div id="content">
         <noscript>

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits