aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichaelvogt <michael@vaadin.com>2013-09-06 11:26:36 +0200
committerVaadin Code Review <review@vaadin.com>2013-09-06 13:38:31 +0000
commit8fa480ae363a43e1f3249dc19d60d8bbe1f00b23 (patch)
treec95391230aaffad5c4878e50585d517a93c9f604
parentc14334f284c7e7c344b2983726b9242e3ef8562e (diff)
downloadvaadin-framework-8fa480ae363a43e1f3249dc19d60d8bbe1f00b23.tar.gz
vaadin-framework-8fa480ae363a43e1f3249dc19d60d8bbe1f00b23.zip
Makes sure the aria-invalid attribute is removed when the caption is
removed and not updated (#12517) Change-Id: I750dff060469a656e199985984794f186365f121
-rw-r--r--client/src/com/vaadin/client/VCaption.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/VCaption.java b/client/src/com/vaadin/client/VCaption.java
index b5d0230087..d96e6ed653 100644
--- a/client/src/com/vaadin/client/VCaption.java
+++ b/client/src/com/vaadin/client/VCaption.java
@@ -114,6 +114,8 @@ public class VCaption extends HTML {
if (null != owner) {
AriaHelper.bindCaption(owner.getWidget(), null);
+ AriaHelper.handleInputInvalid(owner.getWidget(), false);
+ AriaHelper.handleInputRequired(owner.getWidget(), false);
}
}