summaryrefslogtreecommitdiffstats
path: root/wp-admin/js/customize-widgets.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:22 +0000
commitfc0a79914946dac00ccd51b1aacffe267de7210e (patch)
tree1403384efbfe8f8776ff60aaa40f7d535c02c822 /wp-admin/js/customize-widgets.js
parentReleasing progress-linux version 6.5.5+dfsg1-1~progress7.99u1. (diff)
downloadwordpress-fc0a79914946dac00ccd51b1aacffe267de7210e.tar.xz
wordpress-fc0a79914946dac00ccd51b1aacffe267de7210e.zip
Merging upstream version 6.6.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-admin/js/customize-widgets.js')
-rw-r--r--wp-admin/js/customize-widgets.js5
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 );