diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/textarea/textarea.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/textarea/textarea.html index 2f183c29f0..b4c96e9292 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/textarea/textarea.html +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/textarea/textarea.html @@ -9,7 +9,8 @@ ng-keyup="change()" ng-trim="false" ng-required="model.validation.mandatory" - aria-required="{{model.validation.mandatory}}"> + aria-required="{{model.validation.mandatory}}" + aria-invalid="{{validLength ? false : true}}"> diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/textbox/textbox.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/textbox/textbox.html index 1f1131c43f..a0d08d20ed 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/textbox/textbox.html +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/textbox/textbox.html @@ -8,7 +8,7 @@ val-server="value" ng-required="model.validation.mandatory" aria-required="{{model.validation.mandatory}}" - aria-invalid="False" + aria-invalid="{{validLength ? false : true}}" ng-trim="false" ng-change="change()" />