Fix accessibility

This commit is contained in:
2021-12-01 21:51:49 +01:00
parent b55926a73d
commit cc4c2601f2
5 changed files with 6 additions and 3 deletions

View File

@@ -193,6 +193,7 @@ class Spot extends Main
),
'index',
array(
'language' => $this->oLang->getLanguage(),
'host_url' => $this->asContext['serv_name'],
'filepath_css' => self::addTimestampToFilePath('style/spot.css'),
'filepath_js_d3' => self::addTimestampToFilePath('script/d3.min.js'),

View File

@@ -26,6 +26,7 @@ post_name = Name
post_new_message = New message
and = and
counter = #$0
send = Send
maps = Base Maps
map_satellite = Satellite

View File

@@ -26,6 +26,7 @@ post_name = Nom
post_new_message = Nouveau message
and = et
counter = N° $0
send = Envoyer
maps = Fonds de carte
map_satellite = Satellite

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="[#]language[#]">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

View File

@@ -7,7 +7,7 @@
<div id="settings">
<div id="settings-panel">
<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>
<div class="settings-sections">
@@ -910,7 +910,7 @@ function getPost(asPost) {
$Body = $('<p>', {'class':'message'})
.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($('<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;
case 'archived':
$Body = $('<div>')