Revert "Bug #17880: Add ALT text to donation banner."
Arthur Edelstein

Arthur Edelstein commited on 2016-01-05 17:16:09
Zeige 1 geänderte Dateien mit 2 Einfügungen und 11 Löschungen.


This reverts commit ae3e28d207204cd16426542ecf321d3b6892e56d.
... ...
@@ -18,25 +18,16 @@
18 18
   </a>
19 19
 </div>
20 20
 
21
-#include "head.wmi" TITLE="Tor Project: Anonymity Online" CHARSET="UTF-8"
22
-
23
-<!-- Script for populating the donation banner. -->
24 21
 <script>
25 22
   <!-- Show a different champion at random. -->
26 23
   var alternates = ["cd", "lp", "rd", "rr", "ss"];
27
-  var altTexts = {
28
-     "cd" : '"Privacy and anonymity matter to all of us." -- Cory Doctorow, Novelist, Technology Activist, Co-Editor of Boing Boing',
29
-     "lp" : '"Edward Snowden would not have been able to contact me without Tor and other free software encryption projects. Tor is an essential tool, and it needs our support." -- Laura Poitras, Oscar-winning Documentary Filmmaker, Citizenfour',
30
-     "rd" : '"Please help the strongest privacy tool in the world become more sustainable!" -- Roger Dingledine, Founder, The Tor Project',
31
-     "rr" : '"The internet cannot heal itself in the face of tyrants. Tor is the salve that heals that wound; Tor is what allows us to route around Tyranny." -- Rabbi Rob Thomas, Director of The Tor Project',
32
-     "ss" : '"Tor is an essential part of the internet freedom infrastructure." -- Shari Steele, Executive Director of the Tor Project',
33
-  };
34 24
   var alternate = alternates[Math.floor(Math.random() * alternates.length)];
35 25
   var image = document.getElementById("donation-banner-image");
36 26
   image.src = "images/homepage-banner-" + alternate + ".jpg";
37
-  image.alt = altTexts[alternate];
38 27
 </script>
39 28
 
29
+#include "head.wmi" TITLE="Tor Project: Anonymity Online" CHARSET="UTF-8"
30
+
40 31
 <div id="home">
41 32
     <div id="content" class="clearfix">
42 33
     	<div id="maincol">
43 34