Rajout des liens pour valider le site, du point de vue W3C et accessibilité

This commit is contained in:
echarp 2014-06-27 13:46:37 +02:00
parent 7c49875746
commit 320f576641
5 changed files with 32 additions and 14 deletions

View File

@ -14,7 +14,7 @@
font-weight: normal !important
html
color: #000000
color: black
line-height: 1.3em
font-family: georgia, serif
padding-bottom: 6px
@ -29,7 +29,7 @@ body
border-bottom: 0px
a:link, a:visited
color: #336699
color: #369
font-weight: bold
text-decoration: none
a:hover, a:active, a:focus

View File

@ -1,2 +1,15 @@
:markdown
#{t '.content'}
%a(href="http://validator.w3.org/unicorn/check?ucn_uri=#{root_url}"
style="text-decoration:none;")
%img(src="http://www.w3.org/html/logo/badge/html5-badge-h-css3-graphics-semantics.png"
width="197" height="64"
alt="HTML5 Powered with CSS3 / Styling, Graphics, 3D & Effects, and Semantics"
title="HTML5 Powered with CSS3 / Styling, Graphics, 3D & Effects, and Semantics")
%a(href="http://wave.webaim.org/report#/#{root_url}")
%img(src="http://wave.webaim.org/img/wavelogo.png"
height="55"
alt="web accessibility evaluation tool"
title="web accessibility evaluation tool")

View File

@ -45,7 +45,7 @@
.formats
=t '.calendar_in'
= link_to('rss', events_url(:rss, tag: params[:tag]))+','
= link_to 'iCal', events_url(:rss, tag: params[:tag])
= link_to('rss', events_url(:rss, tag: params[:tag], region: params[:region]))+','
= link_to 'iCal', events_url(:rss, tag: params[:tag], format: :ics, tag: params[:tag], region: params[:region])
ou
= link_to 'calendrier Google', events_url(:rss, tag: params[:tag])
= link_to 'calendrier Google', "http://www.google.com/calendar/render?cid=#{events_url(format: :ics, tag: params[:tag], region: params[:region])}"

View File

@ -32,7 +32,7 @@
= render 'layouts/flash', flash: flash if flash.present?
%header.top
= image_tag 'baby_gnu_adl.png', alt: 'baby gnu logo', class: :logo
= image_tag 'baby_gnu_adl.png', alt: 'Baby GNU', class: :logo
%h1= link_to t('.title'), root_url
%h2=t '.subtitle'
@ -43,20 +43,20 @@
%ul.countries
%li
= link_to 'http://www.agendadulibre.org' do
= image_tag 'france.png'
France
= image_tag 'france.png', alt: t('.flag')
=t '.france'
%li
= link_to 'http://www.agendadulibre.qc.ca' do
= image_tag 'quebec.png'
Québec
= image_tag 'quebec.png', alt: t('.flag')
=t '.quebec'
%li
= link_to 'http://www.agendadulibre.be' do
= image_tag 'belgique.png'
Belgique
= image_tag 'belgique.png', alt: t('.flag')
=t '.belgique'
%li
= link_to 'http://www.agendadulibre.ch' do
= image_tag 'suisse.png'
Suisse
= image_tag 'suisse.png', alt: t('.flag')
=t '.suisse'
%main
= yield

View File

@ -96,6 +96,11 @@ fr:
login: Authentication
title: L'Agenda du Libre
subtitle: L'agenda des évènements du Logiciel Libre en France
flag: Drapeau
france: France
quebec: Québec
belgique: Belgique
suisse: Suisse
propose: Proposer un évènement
rss: Flux RSS
ical: Calendriers iCal