diff options
author | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-09-21 14:48:38 +0200 |
---|---|---|
committer | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-09-21 14:48:38 +0200 |
commit | a9a901c1362f6a4d6004f445629077e7633abb28 (patch) | |
tree | 62e6381618f59b82986eccf8ef59f590529e7844 /.themes/classic/sass/partials | |
parent | 2a30d9a1eb5219e5335d1afdd214204d61ea6367 (diff) | |
download | my_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 '')
-rw-r--r-- | .themes/classic/sass/partials/_blog.scss | 2 | ||||
-rw-r--r-- | .themes/classic/sass/partials/_navigation.scss | 8 | ||||
-rw-r--r-- | .themes/classic/sass/partials/sidebar/_base.scss | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/.themes/classic/sass/partials/_blog.scss b/.themes/classic/sass/partials/_blog.scss index 558f0a22..88c71e9d 100644 --- a/.themes/classic/sass/partials/_blog.scss +++ b/.themes/classic/sass/partials/_blog.scss @@ -121,7 +121,7 @@ article + article { display: inline-block; } -#content nav[role=pagination] { +#content nav.pagination { text-align: center; font-size: .95em; div { diff --git a/.themes/classic/sass/partials/_navigation.scss b/.themes/classic/sass/partials/_navigation.scss index 7af9f9f7..43ae469e 100644 --- a/.themes/classic/sass/partials/_navigation.scss +++ b/.themes/classic/sass/partials/_navigation.scss @@ -31,8 +31,8 @@ body > nav { } } } - fieldset[role=site-search]{ float: right; width: 48%; } - fieldset[role=mobile-nav]{ float: left; width: 48%; + fieldset[role=search]{ float: right; width: 48%; } + fieldset.mobile-nav{ float: left; width: 48%; select{ width: 100%; font-size: .8em; border: 1px solid #888;} } ul { display: none; } @@ -85,8 +85,8 @@ body > nav { width: $sidebar-width-medium - $pad-medium*2 - $sidebar-pad-medium - 58px; .search { width: 91%; } } - fieldset[role=mobile-nav] { display: none; } - fieldset[role=site-search]{ width: 99%; } + fieldset.mobile-nav { display: none; } + fieldset[role=search]{ width: 99%; } } @media only screen and (min-width: 992px) { form { diff --git a/.themes/classic/sass/partials/sidebar/_base.scss b/.themes/classic/sass/partials/sidebar/_base.scss index a0d1c09e..afda01c7 100644 --- a/.themes/classic/sass/partials/sidebar/_base.scss +++ b/.themes/classic/sass/partials/sidebar/_base.scss @@ -1,7 +1,7 @@ .side-shadow-border { @include box-shadow(lighten($sidebar-bg, 5) 0 1px); } -aside[role=sidebar] { +aside.sidebar { color: $sidebar-color; text-shadow: lighten($sidebar-bg, 8) 0 1px; a { @extend .force-wrap; } |