aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_layouts
diff options
context:
space:
mode:
authorFrederic Hemberger <mail@frederic-hemberger.de>2011-09-21 14:48:38 +0200
committerFrederic Hemberger <mail@frederic-hemberger.de>2011-09-21 14:48:38 +0200
commita9a901c1362f6a4d6004f445629077e7633abb28 (patch)
tree62e6381618f59b82986eccf8ef59f590529e7844 /.themes/classic/source/_layouts
parent2a30d9a1eb5219e5335d1afdd214204d61ea6367 (diff)
downloadmy_new_personal_website-a9a901c1362f6a4d6004f445629077e7633abb28.tar.xz
my_new_personal_website-a9a901c1362f6a4d6004f445629077e7633abb28.zip
Fixed misuse of ARIA roles (see http://dev.opera.com/articles/view/introduction-to-wai-aria/)
Diffstat (limited to '.themes/classic/source/_layouts')
-rw-r--r--.themes/classic/source/_layouts/default.html6
-rw-r--r--.themes/classic/source/_layouts/page.html4
-rw-r--r--.themes/classic/source/_layouts/post.html4
3 files changed, 7 insertions, 7 deletions
diff --git a/.themes/classic/source/_layouts/default.html b/.themes/classic/source/_layouts/default.html
index d84da44c..17c4e664 100644
--- a/.themes/classic/source/_layouts/default.html
+++ b/.themes/classic/source/_layouts/default.html
@@ -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 %}
diff --git a/.themes/classic/source/_layouts/page.html b/.themes/classic/source/_layouts/page.html
index 20c17452..4edd3ed5 100644
--- a/.themes/classic/source/_layouts/page.html
+++ b/.themes/classic/source/_layouts/page.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 %}
diff --git a/.themes/classic/source/_layouts/post.html b/.themes/classic/source/_layouts/post.html
index e81cc787..3b1208da 100644
--- a/.themes/classic/source/_layouts/post.html
+++ b/.themes/classic/source/_layouts/post.html
@@ -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 %}