[tor-commits] [bridgedb/develop] Update TBB download link/text, add accesskey to improve accessibility.
isis at torproject.org
isis at torproject.org
Mon Apr 14 22:02:10 UTC 2014
commit 8d8816210b974e2e2bb9ed463a2f44368174abd1
Author: Isis Lovecruft <isis at torproject.org>
Date: Fri Apr 11 11:49:36 2014 +0000
Update TBB download link/text, add accesskey to improve accessibility.
---
lib/bridgedb/templates/bridges.html | 3 ++-
lib/bridgedb/templates/index.html | 13 ++++++++-----
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/lib/bridgedb/templates/bridges.html b/lib/bridgedb/templates/bridges.html
index f99b3af..4c57c91 100644
--- a/lib/bridgedb/templates/bridges.html
+++ b/lib/bridgedb/templates/bridges.html
@@ -34,7 +34,8 @@ ${answer}
<p>
${_("""To use the above lines, follow the instructions on the""" \
""" %s %s download page %s to start %s.""") % \
- ("""<a href="https://www.torproject.org/projects/torbrowser.html.en#downloads-beta" target="_blank">""",
+ ("""Tor Browser""",
+ """<a href="https://www.torproject.org/projects/torbrowser.html.en#downloads-beta" target="_blank">""",
"""Tor Browser""", """</a>""", """Tor Browser""")}
${_("""When the "Tor Network Settings" dialogue pops up,""" \
""" click "Configure" and follow the wizard until it asks:""")}
diff --git a/lib/bridgedb/templates/index.html b/lib/bridgedb/templates/index.html
index 3819744..1f5ab34 100644
--- a/lib/bridgedb/templates/index.html
+++ b/lib/bridgedb/templates/index.html
@@ -6,11 +6,14 @@
<div class="bdb_span7 step-text">
<span class="lead">
<span class="step-title">
- ${_("Step 1")}</span>
- <span style="margin-left: 20px;">
- ${_("Get the %s Tor Browser Bundle %s") % \
- ("""<a href="https://www.torproject.org/projects/torbrowser.html.en#downloads-beta">""", "</a>")}</span>
- </span></div>
+ ${_("Step %s1%s") % ("""<u>""", """</u>""")}</span>
+ <span style="margin-left: 20px; margin-right: 20px;">
+ ${_("Download the %s Tor Browser Bundle %s") % \
+ ("""<a href="https://www.torproject.org/projects/torbrowser.html.en#downloads-beta"
+ target="_blank" accesskey="1">""",
+ """</a>""")}</span>
+ </span>
+ </div>
</div>
<div class="step row">
More information about the tor-commits
mailing list