Fix accessibility
This commit is contained in:
@@ -193,6 +193,7 @@ class Spot extends Main
|
|||||||
),
|
),
|
||||||
'index',
|
'index',
|
||||||
array(
|
array(
|
||||||
|
'language' => $this->oLang->getLanguage(),
|
||||||
'host_url' => $this->asContext['serv_name'],
|
'host_url' => $this->asContext['serv_name'],
|
||||||
'filepath_css' => self::addTimestampToFilePath('style/spot.css'),
|
'filepath_css' => self::addTimestampToFilePath('style/spot.css'),
|
||||||
'filepath_js_d3' => self::addTimestampToFilePath('script/d3.min.js'),
|
'filepath_js_d3' => self::addTimestampToFilePath('script/d3.min.js'),
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ post_name = Name
|
|||||||
post_new_message = New message
|
post_new_message = New message
|
||||||
and = and
|
and = and
|
||||||
counter = #$0
|
counter = #$0
|
||||||
|
send = Send
|
||||||
|
|
||||||
maps = Base Maps
|
maps = Base Maps
|
||||||
map_satellite = Satellite
|
map_satellite = Satellite
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ post_name = Nom
|
|||||||
post_new_message = Nouveau message
|
post_new_message = Nouveau message
|
||||||
and = et
|
and = et
|
||||||
counter = N° $0
|
counter = N° $0
|
||||||
|
send = Envoyer
|
||||||
|
|
||||||
maps = Fonds de carte
|
maps = Fonds de carte
|
||||||
map_satellite = Satellite
|
map_satellite = Satellite
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="[#]language[#]">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<div id="settings">
|
<div id="settings">
|
||||||
<div id="settings-panel">
|
<div id="settings-panel">
|
||||||
<div class="settings-header">
|
<div class="settings-header">
|
||||||
<div class="logo"><img width="289" height="72" src="images/logo_black.png" /></div>
|
<div class="logo"><img width="289" height="72" src="images/logo_black.png" alt="Spotty" /></div>
|
||||||
<div id="last_update"><p><span><img src="images/spot-logo-only.svg" alt="" /></span><abbr></abbr></p></div>
|
<div id="last_update"><p><span><img src="images/spot-logo-only.svg" alt="" /></span><abbr></abbr></p></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="settings-sections">
|
<div class="settings-sections">
|
||||||
@@ -910,7 +910,7 @@ function getPost(asPost) {
|
|||||||
$Body = $('<p>', {'class':'message'})
|
$Body = $('<p>', {'class':'message'})
|
||||||
.append($('<textarea>', {id:'post', name:'post', placeholder:oSpot.lang('post_message'), 'class':'autoExpand', rows:'1'}))
|
.append($('<textarea>', {id:'post', name:'post', placeholder:oSpot.lang('post_message'), 'class':'autoExpand', rows:'1'}))
|
||||||
.append($('<input>', {type:'text', id:'name', name:'name', placeholder:oSpot.lang('post_name')}))
|
.append($('<input>', {type:'text', id:'name', name:'name', placeholder:oSpot.lang('post_name')}))
|
||||||
.append($('<button>', {type:'button', id:'submit', name:'submit'}).addIcon('fa-send'));
|
.append($('<button>', {type:'button', id:'submit', name:'submit', 'aria-label':oSpot.lang('send')}).addIcon('fa-send'));
|
||||||
break;
|
break;
|
||||||
case 'archived':
|
case 'archived':
|
||||||
$Body = $('<div>')
|
$Body = $('<div>')
|
||||||
|
|||||||
Reference in New Issue
Block a user