summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN
diff options
context:
space:
mode:
authormichaelvogt <michael@vaadin.com>2013-06-24 13:55:55 +0300
committerVaadin Code Review <review@vaadin.com>2013-07-12 11:24:11 +0000
commitc44ca1270523c544b9aedabe7f9780a5e6862859 (patch)
treeb1cae7adffd770634e5c597dadc2b2336c34849f /WebContent/VAADIN
parente45e036598d6efcf26ba1d2c27b4eeadcb32a9b9 (diff)
downloadvaadin-framework-c44ca1270523c544b9aedabe7f9780a5e6862859.tar.gz
vaadin-framework-c44ca1270523c544b9aedabe7f9780a5e6862859.zip
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
Diffstat (limited to 'WebContent/VAADIN')
-rw-r--r--WebContent/VAADIN/themes/base/tabsheet/tabsheet.scss6
1 files changed, 6 insertions, 0 deletions
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 */