diff options
author | michaelvogt <michael@vaadin.com> | 2013-06-24 13:55:55 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-07-12 11:24:11 +0000 |
commit | c44ca1270523c544b9aedabe7f9780a5e6862859 (patch) | |
tree | b1cae7adffd770634e5c597dadc2b2336c34849f /WebContent/VAADIN | |
parent | e45e036598d6efcf26ba1d2c27b4eeadcb32a9b9 (diff) | |
download | vaadin-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.scss | 6 |
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 */ |