From 62abc108708a57399a42c4455d525ebe944d19bd Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Wed, 16 Dec 2015 23:36:28 +0000 Subject: [PATCH] Accessibility: Improvements for the "Send Trackbacks" postbox. Adds an `aria-describedby` attribute targeting the input field description and styles the description as a... description. Fixes #35123. git-svn-id: https://develop.svn.wordpress.org/trunk@35983 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/meta-boxes.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php index ad05a2ad8c..f1d6a3cc26 100644 --- a/src/wp-admin/includes/meta-boxes.php +++ b/src/wp-admin/includes/meta-boxes.php @@ -592,7 +592,8 @@ function post_excerpt_meta_box($post) { * @param object $post */ function post_trackback_meta_box($post) { - $form_trackback = 'to_ping) ) .'" />'; + $form_trackback = 'to_ping ) ) . '" aria-describedby="trackback-url-desc" />'; if ('' != $post->pinged) { $pings = '

'. __('Already pinged:') . '