From d5266dc9957ecf3c4de76a6117b56296ccf7e1f9 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Mon, 29 Jul 2019 09:27:14 +0100 Subject: [PATCH] Fix reboot for placeholder links (#29162) Backport of #29140 --- scss/_reboot.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scss/_reboot.scss b/scss/_reboot.scss index bdb53f346a..e436e14ef8 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -194,13 +194,12 @@ a { } } -// And undo these styles for placeholder links/named anchors (without href) -// which have not been made explicitly keyboard-focusable (without tabindex). +// And undo these styles for placeholder links/named anchors (without href). // It would be more straightforward to just use a[href] in previous block, but that // causes specificity issues in many other styles that are too complex to fix. // See https://github.com/twbs/bootstrap/issues/19402 -a:not([href]):not([tabindex]) { +a:not([href]) { color: inherit; text-decoration: none;