From b2b6d416f3a853592d14e69e3403e1b443ccc62c Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 27 Mar 2014 01:14:15 +0000 Subject: [PATCH] Add aria-label to the DFW buttons, props joedolson, fixes #26555 Built from https://develop.svn.wordpress.org/trunk@27766 git-svn-id: http://core.svn.wordpress.org/trunk@27603 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-editor.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index bb697ad38d..b7a9a051a9 100644 --- a/wp-includes/class-wp-editor.php +++ b/wp-includes/class-wp-editor.php @@ -955,10 +955,11 @@ final class _WP_Editors { } $onclick = ! empty( $args['onclick'] ) ? ' onclick="' . $args['onclick'] . '"' : ''; + $title = esc_attr( $args['title'] ); ?>
-