diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-07-13 15:46:31 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-07-13 15:46:31 +0300 |
commit | ae5793ae460cab22612c134cbec4b8ae6ed4175b (patch) | |
tree | e24c1924cc4882a273707661d16d9a67c875aa31 /shared | |
parent | 40dcbc3cfaa438c9b879720c9012331dd85ca694 (diff) | |
parent | 96e10ed8be9ec1e694001098584361e43eb35af2 (diff) | |
download | vaadin-framework-ae5793ae460cab22612c134cbec4b8ae6ed4175b.tar.gz vaadin-framework-ae5793ae460cab22612c134cbec4b8ae6ed4175b.zip |
Merge remote-tracking branch 'origin/master' into grid-unbuffered-editor
Change-Id: Id630861d5089b0deabbccffe66d971252c44f46b
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/ui/UIState.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/shared/src/com/vaadin/shared/ui/ui/UIState.java b/shared/src/com/vaadin/shared/ui/ui/UIState.java index 2f51fef6ee..6f7a531eb6 100644 --- a/shared/src/com/vaadin/shared/ui/ui/UIState.java +++ b/shared/src/com/vaadin/shared/ui/ui/UIState.java @@ -43,12 +43,16 @@ public class UIState extends TabIndexState { notificationConfigurations.put("humanized", new NotificationTypeConfiguration("Info: ", null, NotificationRole.ALERT)); + + // We use alert instead of status for all notifications because + // (at least) Jaws 16 and earlier fail to announce any role=status + // message in Chrome/Firefox notificationConfigurations.put("tray", new NotificationTypeConfiguration("Status: ", null, - NotificationRole.STATUS)); + NotificationRole.ALERT)); notificationConfigurations.put("assistive", new NotificationTypeConfiguration("Note: ", null, - NotificationRole.STATUS)); + NotificationRole.ALERT)); } /** * State related to the Page class. |