1 Here is a patch for page.tmpl to add these landmarks.
3 > This can't be applied as a patch as-is because it's based on Tails'
4 > modified `page.tmpl`, but I get the general idea. A reviewer will need
5 > to check the ARIA meanings of those roles to confirm that they
6 > are appropriate (I haven't done that yet). [[!tag patch]] --[[smcv]]
9 diff --git a/templates/page.tmpl b/templates/page.tmpl
10 index 5efad1a..cb76590 100644
11 --- a/templates/page.tmpl
12 +++ b/templates/page.tmpl
18 +<div class="banner" role="banner">
19 <a class="tails" href="<TMPL_VAR HOMEPAGEURL>">
20 <span class="acronym">Tails</span><br/>
21 <span class="slogan">The Amnesic Incognito Live System</span>
23 <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
26 -<TMPL_IF HTML5><aside class="sidebar"><TMPL_ELSE><div class="sidebar"></TMPL_IF>
27 +<TMPL_IF HTML5><aside class="sidebar" role="navigation"><TMPL_ELSE><div class="sidebar" role="navigation"></TMPL_IF>
29 <TMPL_IF HTML5></aside><TMPL_ELSE></div></TMPL_IF>
34 -<TMPL_IF HTML5><section id="content"><TMPL_ELSE><div id="content"></TMPL_IF>
35 +<TMPL_IF HTML5><section id="content" role="main"><TMPL_ELSE><div id="content" role="main"></TMPL_IF>
37 <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
41 -<TMPL_IF HTML5><section id="comments"><TMPL_ELSE><div id="comments"></TMPL_IF>
42 +<TMPL_IF HTML5><section id="comments" role="complementary"><TMPL_ELSE><div id="comments" role="complementary"></TMPL_IF>
44 <TMPL_IF ADDCOMMENTURL>
45 <div class="addcomment">
50 -<TMPL_IF HTML5><footer id="footer" class="pagefooter"><TMPL_ELSE><div id="footer" class="pagefooter"></TMPL_IF>
51 +<TMPL_IF HTML5><footer id="footer" class="pagefooter" role="contentinfo"><TMPL_ELSE><div id="footer" class="pagefooter" role="contentinfo"></TMPL_IF>
53 <TMPL_IF HTML5><nav id="pageinfo"><TMPL_ELSE><div id="pageinfo"></TMPL_IF>