diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:18 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:18 +0000 |
commit | 0e41b5d52fdc6af6442816b5f465c9db9f84e126 (patch) | |
tree | e139a90049b158d4eed892d1662ee7f5c358fa31 /wp-admin/js/customize-widgets.js | |
parent | Adding upstream version 6.5.5+dfsg1. (diff) | |
download | wordpress-upstream.tar.xz wordpress-upstream.zip |
Adding upstream version 6.6.1+dfsg1.upstream/6.6.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | wp-admin/js/customize-widgets.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wp-admin/js/customize-widgets.js b/wp-admin/js/customize-widgets.js index 2ba8aee..56459ad 100644 --- a/wp-admin/js/customize-widgets.js +++ b/wp-admin/js/customize-widgets.js @@ -388,7 +388,7 @@ }, /** - * Adds keyboard accessiblity to the panel. + * Adds keyboard accessibility to the panel. */ keyboardAccessible: function( event ) { var isEnter = ( event.which === 13 ), @@ -1623,7 +1623,8 @@ // @todo This should use the Notifications API introduced to panels. See <https://core.trac.wordpress.org/ticket/38794>. noticeContainer = $( '<div></div>', { - 'class': 'no-widget-areas-rendered-notice' + 'class': 'no-widget-areas-rendered-notice', + 'role': 'alert' }); panelMetaContainer.append( noticeContainer ); |