From 2223b319f9cdb263c7a72ef0b262402a191fde16 Mon Sep 17 00:00:00 2001
From: Andrew Ozz
Date: Fri, 27 Feb 2015 02:49:05 +0000
Subject: [PATCH] PressThis: accessibility enhancements: - Add missing form
labels. - Add some screen-reader-text and aria-hidden attributes. - Focus
handling improvements. - Change tagcloud-link into a button. - Add missing ID
attribute in tools.php. Props afercia. Fixes #31449.
git-svn-id: https://develop.svn.wordpress.org/trunk@31566 602fd350-edb4-49c9-b593-d223f7449a82
---
src/wp-admin/css/press-this.css | 6 ++--
src/wp-admin/includes/class-wp-press-this.php | 35 ++++++++++++-------
src/wp-admin/js/press-this.js | 27 +++++++++-----
src/wp-admin/js/tags-box.js | 4 +--
src/wp-admin/tools.php | 2 +-
5 files changed, 46 insertions(+), 28 deletions(-)
diff --git a/src/wp-admin/css/press-this.css b/src/wp-admin/css/press-this.css
index 8b1e88db0e..b272be9331 100644
--- a/src/wp-admin/css/press-this.css
+++ b/src/wp-admin/css/press-this.css
@@ -217,9 +217,9 @@ input[type="search"]::-webkit-search-decoration {
}
fieldset {
- border: 1px solid #c0c0c0;
- margin: 0 2px;
- padding: 0.35em 0.625em 0.75em;
+ border: 0;
+ margin: 0;
+ padding: 0;
}
legend {
diff --git a/src/wp-admin/includes/class-wp-press-this.php b/src/wp-admin/includes/class-wp-press-this.php
index cb7c57df4f..759e73344f 100644
--- a/src/wp-admin/includes/class-wp-press-this.php
+++ b/src/wp-admin/includes/class-wp-press-this.php
@@ -537,6 +537,7 @@ class WP_Press_This {
?>
+
cap->edit_terms ) ) {
?>
-
-