summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorJarno Rantala <jarno.rantala@vaadin.com>2013-10-28 14:53:54 +0200
committerVaadin Code Review <review@vaadin.com>2013-10-29 10:22:09 +0000
commitf5feaa2e3a8aebace6d9978131b192ed8b046557 (patch)
tree4edba0cd0e2c23092b28051d3ad4dba4d58a3039 /uitest
parent3bbf30054f865990f6c9089bd8f73e2e7a41b3f5 (diff)
downloadvaadin-framework-f5feaa2e3a8aebace6d9978131b192ed8b046557.tar.gz
vaadin-framework-f5feaa2e3a8aebace6d9978131b192ed8b046557.zip
Forces small delay before showing accessible tooltip on focus (#12849)
Screen reader (JAWS 14) seems to get confused about the focused item if the tooltip is shown on focus. This commit forces small delay before showing the tooltip. More info, see http://www.w3.org/TR/2011/CR-wai-aria-20110118/roles#tooltip Change-Id: I2973a1a3844936e09fef28afe37a0ecbdda69122
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/components/button/ButtonsWaiAria.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/button/ButtonsWaiAria.java b/uitest/src/com/vaadin/tests/components/button/ButtonsWaiAria.java
index cc75f87a71..24dc942171 100644
--- a/uitest/src/com/vaadin/tests/components/button/ButtonsWaiAria.java
+++ b/uitest/src/com/vaadin/tests/components/button/ButtonsWaiAria.java
@@ -32,6 +32,10 @@ public class ButtonsWaiAria extends ComponentTestCase<Button> {
l = createButton("Tooltip Button", nat);
l.setDescription("Tooltip");
addTestComponent(l);
+
+ l = createButton("Another tooltip", nat);
+ l.setDescription("Another");
+ addTestComponent(l);
}
private Button createButton(String text, boolean nativeButton) {