aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichaelvogt <michael@vaadin.com>2013-07-22 11:44:45 +0300
committerMichael Vogt <michael@vaadin.com>2013-07-23 07:53:52 +0000
commit7cf124627e712d8e956d7e3f60e181230075daf9 (patch)
tree62a2ee56e599ae0f6b914de7b3a13c6c01690d55
parent5a0a9917f1021b69cc613eb7de4c5cf81ed5afc1 (diff)
downloadvaadin-framework-7cf124627e712d8e956d7e3f60e181230075daf9.tar.gz
vaadin-framework-7cf124627e712d8e956d7e3f60e181230075daf9.zip
Clears the live area flag that Firefox sets by mistake (#12257)
When selecting a Tab, screen reader reads out all the tabs otherwise Change-Id: I41d4f6c103daeec06be3828eb27ee479dc92477c
-rw-r--r--client/src/com/vaadin/client/ui/VTabsheet.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/VTabsheet.java b/client/src/com/vaadin/client/ui/VTabsheet.java
index 729a8c5123..2a949c31af 100644
--- a/client/src/com/vaadin/client/ui/VTabsheet.java
+++ b/client/src/com/vaadin/client/ui/VTabsheet.java
@@ -20,6 +20,7 @@ import java.util.Iterator;
import java.util.List;
import com.google.gwt.aria.client.Id;
+import com.google.gwt.aria.client.LiveValue;
import com.google.gwt.aria.client.Roles;
import com.google.gwt.aria.client.SelectedValue;
import com.google.gwt.core.client.Scheduler;
@@ -763,6 +764,7 @@ public class VTabsheet extends VTabsheetBase implements Focusable,
tabs = DOM.createDiv();
DOM.setElementProperty(tabs, "className", TABS_CLASSNAME);
Roles.getTablistRole().set(tabs);
+ Roles.getTablistRole().setAriaLiveProperty(tabs, LiveValue.OFF);
scroller = DOM.createDiv();
Roles.getTablistRole().setAriaHiddenState(scroller, true);