From 9ae963d9a75a02b562e2c598ff585b346bab4501 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Sun, 18 Nov 2012 16:49:17 +0000 Subject: [PATCH] RTL: fix styling of Skip To links, see #22453 git-svn-id: http://core.svn.wordpress.org/trunk@22641 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/wp-admin-rtl.css | 12 ++++++++++++ wp-includes/css/admin-bar-rtl.css | 5 +++++ 2 files changed, 17 insertions(+) diff --git a/wp-admin/css/wp-admin-rtl.css b/wp-admin/css/wp-admin-rtl.css index d37f6b10f2..acd667384d 100644 --- a/wp-admin/css/wp-admin-rtl.css +++ b/wp-admin/css/wp-admin-rtl.css @@ -1573,6 +1573,18 @@ table .column-rating { left: 15px; } +.screen-reader-text, +.screen-reader-text span, +.ui-helper-hidden-accessible { + left: auto; + right: -1000em; +} + +.screen-reader-shortcut:focus { + left: auto; + right: 6px; +} + /*------------------------------------------------------------------------------ 24.0 - Dead ------------------------------------------------------------------------------*/ diff --git a/wp-includes/css/admin-bar-rtl.css b/wp-includes/css/admin-bar-rtl.css index 7096a02a22..8a1cd0a707 100644 --- a/wp-includes/css/admin-bar-rtl.css +++ b/wp-includes/css/admin-bar-rtl.css @@ -104,6 +104,11 @@ border-left: 0; } +#wpadminbar .screen-reader-shortcut:focus { + left: auto; + right: 6px; +} + /** * My Account */