diff options
author | michaelvogt <michael@vaadin.com> | 2013-09-06 11:26:36 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-09-06 13:38:31 +0000 |
commit | 8fa480ae363a43e1f3249dc19d60d8bbe1f00b23 (patch) | |
tree | c95391230aaffad5c4878e50585d517a93c9f604 | |
parent | c14334f284c7e7c344b2983726b9242e3ef8562e (diff) | |
download | vaadin-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.java | 2 |
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); } } |