From 2cc4ca6875bcc09c51d8e07e6ed93aef754cfd36 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Wed, 16 Dec 2015 23:37:26 +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. Built from https://develop.svn.wordpress.org/trunk@35983 git-svn-id: http://core.svn.wordpress.org/trunk@35948 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/meta-boxes.php | 9 +++++++-- wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index ad05a2ad8c..f1d6a3cc26 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/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:') . '