From 8fa480ae363a43e1f3249dc19d60d8bbe1f00b23 Mon Sep 17 00:00:00 2001 From: michaelvogt Date: Fri, 6 Sep 2013 11:26:36 +0200 Subject: Makes sure the aria-invalid attribute is removed when the caption is removed and not updated (#12517) Change-Id: I750dff060469a656e199985984794f186365f121 --- client/src/com/vaadin/client/VCaption.java | 2 ++ 1 file changed, 2 insertions(+) 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); } } -- cgit v1.2.3