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

View File

@ -1,2 +1,15 @@
:markdown :markdown
#{t '.content'} #{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 .formats
=t '.calendar_in' =t '.calendar_in'
= link_to('rss', 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]) = link_to 'iCal', events_url(:rss, tag: params[:tag], format: :ics, tag: params[:tag], region: params[:region])
ou 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? = render 'layouts/flash', flash: flash if flash.present?
%header.top %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 %h1= link_to t('.title'), root_url
%h2=t '.subtitle' %h2=t '.subtitle'
@ -43,20 +43,20 @@
%ul.countries %ul.countries
%li %li
= link_to 'http://www.agendadulibre.org' do = link_to 'http://www.agendadulibre.org' do
= image_tag 'france.png' = image_tag 'france.png', alt: t('.flag')
France =t '.france'
%li %li
= link_to 'http://www.agendadulibre.qc.ca' do = link_to 'http://www.agendadulibre.qc.ca' do
= image_tag 'quebec.png' = image_tag 'quebec.png', alt: t('.flag')
Québec =t '.quebec'
%li %li
= link_to 'http://www.agendadulibre.be' do = link_to 'http://www.agendadulibre.be' do
= image_tag 'belgique.png' = image_tag 'belgique.png', alt: t('.flag')
Belgique =t '.belgique'
%li %li
= link_to 'http://www.agendadulibre.ch' do = link_to 'http://www.agendadulibre.ch' do
= image_tag 'suisse.png' = image_tag 'suisse.png', alt: t('.flag')
Suisse =t '.suisse'
%main %main
= yield = yield

View File

@ -96,6 +96,11 @@ fr:
login: Authentication login: Authentication
title: L'Agenda du Libre title: L'Agenda du Libre
subtitle: L'agenda des évènements du Logiciel Libre en France 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 propose: Proposer un évènement
rss: Flux RSS rss: Flux RSS
ical: Calendriers iCal ical: Calendriers iCal