mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-02-12 19:00:55 +00:00
Fixed misuse of ARIA roles (see http://dev.opera.com/articles/view/introduction-to-wai-aria/)
This commit is contained in:
@ -1,14 +1,14 @@
|
||||
{% capture root_url %}{{ site.root | strip_slash }}{% endcapture %}
|
||||
{% include head.html %}
|
||||
<body {% if page.body_id %} id="{{ page.body_id }}" {% endif %} {% if page.sidebar == false %} class="no-sidebar" {% endif %}>
|
||||
<header>{% include header.html %}</header>
|
||||
<nav role=navigation>{% include navigation.html %}</nav>
|
||||
<header role="banner">{% include header.html %}</header>
|
||||
<nav role="navigation">{% include navigation.html %}</nav>
|
||||
<div id="main">
|
||||
<div id="content">
|
||||
{{ content | expand_urls: root_url }}
|
||||
</div>
|
||||
</div>
|
||||
<footer>{% include footer.html %}</footer>
|
||||
<footer role="contentinfo">{% include footer.html %}</footer>
|
||||
{% include disqus.html %}
|
||||
{% include google_analytics.html %}
|
||||
{% include google_plus_one.html %}
|
||||
|
||||
@ -3,7 +3,7 @@ layout: default
|
||||
---
|
||||
|
||||
<div>
|
||||
<article>
|
||||
<article role="article">
|
||||
{% if page.title %}
|
||||
<header>
|
||||
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
|
||||
@ -32,7 +32,7 @@ layout: default
|
||||
{% endif %}
|
||||
</div>
|
||||
{% unless page.sidebar == false %}
|
||||
<aside role=sidebar>
|
||||
<aside class="sidebar">
|
||||
{% if site.page_asides.size %}
|
||||
{% include_array page_asides %}
|
||||
{% else %}
|
||||
|
||||
@ -4,7 +4,7 @@ single: true
|
||||
---
|
||||
|
||||
<div>
|
||||
<article class="hentry">
|
||||
<article class="hentry" role="article">
|
||||
{% include article.html %}
|
||||
<footer>
|
||||
<p class="meta">
|
||||
@ -25,7 +25,7 @@ single: true
|
||||
{% endif %}
|
||||
</div>
|
||||
{% unless page.sidebar == false %}
|
||||
<aside role=sidebar>
|
||||
<aside class="sidebar">
|
||||
{% if site.post_asides.size %}
|
||||
{% include_array post_asides %}
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user