summaryrefslogtreecommitdiffstats
path: root/wp-admin/js/widgets/media-widgets.js
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/js/widgets/media-widgets.js')
-rw-r--r--wp-admin/js/widgets/media-widgets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/js/widgets/media-widgets.js b/wp-admin/js/widgets/media-widgets.js
index 2ee00a8..d67e71f 100644
--- a/wp-admin/js/widgets/media-widgets.js
+++ b/wp-admin/js/widgets/media-widgets.js
@@ -158,7 +158,7 @@ wp.mediaWidgets = ( function( $ ) {
}
} else {
if ( ! noticeContainer.length ) {
- noticeContainer = $( '<div class="media-widget-embed-notice notice notice-error notice-alt"></div>' );
+ noticeContainer = $( '<div class="media-widget-embed-notice notice notice-error notice-alt" role="alert"></div>' );
noticeContainer.hide();
embedLinkView.views.parent.$el.prepend( noticeContainer );
}