Add aria landmark roles

This commit is contained in:
perryharlock
2013-09-23 15:56:22 +01:00
parent 65396521e8
commit 20186c858d
5 changed files with 5 additions and 6 deletions

View File

@@ -29,8 +29,7 @@
<div class="container">
<div class="row">
<section>
<div class="section">
<div class="section" role="main">
{{{body}}}
</div>
</section>

View File

@@ -3,7 +3,7 @@
Add a new url
{{/content}}
<form class="col-md-12" action="/new" method="post">
<form role="form" class="col-md-12" action="/new" method="post">
<div class="legend">
<legend>Add a new url</legend>

View File

@@ -1,5 +1,5 @@
<footer>
<div class="footer">
<div class="footer" role="contentinfo">
<div class="container">
<ul class="pull-right crunch-bottom">
<li>

View File

@@ -1,5 +1,5 @@
<header>
<div class="header">
<div role="banner" class="header">
<div class="container">
<h1><a href="/">pa11y</a> - your automated accessibility testing pal</h1>
</div>

View File

@@ -7,7 +7,7 @@
</a>
</li>
{{#tasks}}
<li class="col-md-4 col-sm-6 task-card">
<li class="col-md-4 col-sm-6 task-card" role="article">
<a class="well task-card-link crunch-bottom" title="Task details for {{simplify-url url}}" href="/{{id}}">
<p class="h3">{{simplify-url url}}</p>
<p class="h5">({{standard}})</p>