diff options
Diffstat (limited to 'wp-admin/js/widgets/custom-html-widgets.js')
-rw-r--r-- | wp-admin/js/widgets/custom-html-widgets.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/js/widgets/custom-html-widgets.js b/wp-admin/js/widgets/custom-html-widgets.js index e36d115..3987eb4 100644 --- a/wp-admin/js/widgets/custom-html-widgets.js +++ b/wp-admin/js/widgets/custom-html-widgets.js @@ -148,7 +148,7 @@ wp.customHtmlWidgets = ( function( $ ) { } ) ); } } else if ( 0 !== errorAnnotations.length ) { - errorNotice = $( '<div class="inline notice notice-error notice-alt"></div>' ); + errorNotice = $( '<div class="inline notice notice-error notice-alt" role="alert"></div>' ); errorNotice.append( $( '<p></p>', { text: message } ) ); |