wp/wp-admin/js/widgets/custom-html-widgets.js
changeset 21 48c4eec2b7e6
parent 18 be944660c56a
--- a/wp/wp-admin/js/widgets/custom-html-widgets.js	Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-admin/js/widgets/custom-html-widgets.js	Fri Sep 05 18:40:08 2025 +0200
@@ -148,7 +148,7 @@
 					} ) );
 				}
 			} 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
 				} ) );