From c44ca1270523c544b9aedabe7f9780a5e6862859 Mon Sep 17 00:00:00 2001 From: michaelvogt Date: Mon, 24 Jun 2013 13:55:55 +0300 Subject: Tabsheet should not immediately select a tab when changing tab using keyboard (#11823) Adds the necessary WAI-ARIA roles to the component (#11827) Change-Id: Ie1ed40227679e3497971b834919713614a8cc23e --- WebContent/VAADIN/themes/base/tabsheet/tabsheet.scss | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'WebContent/VAADIN') diff --git a/WebContent/VAADIN/themes/base/tabsheet/tabsheet.scss b/WebContent/VAADIN/themes/base/tabsheet/tabsheet.scss index 1a799814c1..14def56ab5 100644 --- a/WebContent/VAADIN/themes/base/tabsheet/tabsheet.scss +++ b/WebContent/VAADIN/themes/base/tabsheet/tabsheet.scss @@ -106,6 +106,12 @@ .#{$primaryStyleName}-tabitem-selected .v-caption { cursor: default; } +.#{$primaryStyleName}-tabitem-focus .v-captiontext { + text-decoration: underline; +} +.#{$primaryStyleName}-tabitem-selected.#{$primaryStyleName}-tabitem-focus .v-captiontext { + text-decoration: inherit; +} .#{$primaryStyleName}-content { border: 1px solid #aaa; /* Vertical borders are not supported, use v-tabsheet-tabcontainer and v-tabsheet-deco to present these borders */ -- cgit v1.2.3