From a9a901c1362f6a4d6004f445629077e7633abb28 Mon Sep 17 00:00:00 2001 From: Frederic Hemberger Date: Wed, 21 Sep 2011 14:48:38 +0200 Subject: Fixed misuse of ARIA roles (see http://dev.opera.com/articles/view/introduction-to-wai-aria/) --- .themes/classic/sass/partials/_navigation.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.themes/classic/sass/partials/_navigation.scss') 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 { -- cgit v1.2.1