summaryrefslogtreecommitdiffstats
path: root/wp-admin/js/customize-widgets.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 );