From 42055c8c93e5be1d1ce03539cc40ef10b21d7a10 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 27 Mar 2014 01:13:44 +0000 Subject: [PATCH] Add aria-label to the DFW buttons, props joedolson, fixes #26555 git-svn-id: https://develop.svn.wordpress.org/trunk@27766 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-editor.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php index bb697ad38d..b7a9a051a9 100644 --- a/src/wp-includes/class-wp-editor.php +++ b/src/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'] ); ?>
-