fix(switch): make switch more accessible

This commit is contained in:
Joren Broekema 2019-11-12 16:32:50 +01:00 committed by Thomas Allmer
parent 7225d9d4ad
commit 83f9564ae0

View file

@ -31,7 +31,7 @@ export class LionSwitchButton extends DisabledWithTabIndexMixin(LitElement) {
outline: 0;
}
:host(:focus) .btn {
:host(:focus:not([disabled])) .btn {
/* if you extend, please overwrite */
outline: 2px solid #bde4ff;
}