summaryrefslogtreecommitdiff
path: root/src/templates
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2015-03-26 11:38:55 +0000
committerJohn McLear <john@mclear.co.uk>2015-03-26 11:38:55 +0000
commit4362a42f7f0fa2919e26fd7806181bf9bb563cc5 (patch)
treeb259005260c0b742ce4e8f9fbbbc135ab96726a2 /src/templates
parent69f0392e75534e9340f6349c5af3a765454ec78a (diff)
downloadetherpad-lite-4362a42f7f0fa2919e26fd7806181bf9bb563cc5.zip
make index page accessible for screen readers
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/index.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/templates/index.html b/src/templates/index.html
index 02ecf67a..626630e3 100644
--- a/src/templates/index.html
+++ b/src/templates/index.html
@@ -70,9 +70,10 @@
}
#button {
margin: 0 auto;
- border-radius: 3px;
text-align: center;
font: 36px verdana,arial,sans-serif;
+ width:300px;
+ border:none;
color: white;
text-shadow: 0 -1px 0 rgba(0,0,0,.8);
height: 70px;
@@ -100,6 +101,7 @@
text-align: left;
text-shadow: 0 1px 1px #fff;
margin: 16px auto 0;
+ display:block;
}
#padname{
height:38px;
@@ -158,8 +160,8 @@
<div id="wrapper">
<% e.begin_block("indexWrapper"); %>
<div id="inner">
- <div id="button" onclick="go2Random()" data-l10n-id="index.newPad"></div>
- <div id="label" data-l10n-id="index.createOpenPad"></div>
+ <buttOn id="button" onclick="go2Random()" data-l10n-id="index.newPad"></button>
+ <label id="label" for="padname" data-l10n-id="index.createOpenPad"></label>
<form action="#" onsubmit="go2Name();return false;">
<input type="text" id="padname" autofocus x-webkit-speech>
<button type="submit">OK</button>