From 1ba2f627521385f91110f89b6d457d57c96a6d12 Mon Sep 17 00:00:00 2001 From: obenland Date: Wed, 13 Mar 2013 15:39:05 -0700 Subject: [PATCH] _s: Use .screen-reader-text rather than .assistive-text. With 3.6 introducing many HTML5 improvements the need for custom searchform and comment templates will vanish. To cope with core's .screen-reader-text class, let's make the switch early. Commit also adds core's focus styles for screen reader texts, so they can actually be used. --- comments.php | 4 ++-- header.php | 2 +- inc/template-tags.php | 2 +- searchform.php | 2 +- style.css | 24 ++++++++++++++++++++++-- 5 files changed, 27 insertions(+), 7 deletions(-) diff --git a/comments.php b/comments.php index aec4d54..384fe0f 100644 --- a/comments.php +++ b/comments.php @@ -36,7 +36,7 @@ 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> @@ -56,7 +56,7 @@ 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> diff --git a/header.php b/header.php index 3401f75..0d4fe83 100644 --- a/header.php +++ b/header.php @@ -33,7 +33,7 @@ diff --git a/inc/template-tags.php b/inc/template-tags.php index fe3960b..c1b9137 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -34,7 +34,7 @@ function _s_content_nav( $nav_id ) { ?>