diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 8ccabef49..c327887e4 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -2679,7 +2679,10 @@ define([ $creation.append(title); if (early === 1) { - $creation.append(h('div.cp-creation-early.alert.alert-warning', Messages._getKey('premiumAccess', [ + $creation.append(h('div.cp-creation-early.alert.alert-warning',{ + role: 'alert', + 'aria-live': 'assertive' + }, Messages._getKey('premiumAccess', [ domain ]))); } @@ -2777,7 +2780,10 @@ define([ // Password let text; if (type === 'form') { - text = h('div.cp-creation-password-warning.alert.alert-info.dismissable', h('span.cp-inline-alert-text', Messages.form_passwordWarning)); + text = h('div.cp-creation-password-warning.alert.alert-info.dismissable',{ + role: 'alert', + 'aria-live': 'assertive' + }, h('span.cp-inline-alert-text', Messages.form_passwordWarning)); } var password = h('div.cp-creation-password', [ UI.createCheckbox('cp-creation-password', Messages.properties_addPassword, false),