From 5a6a12872887a4a1288541ac904ae040e31cf648 Mon Sep 17 00:00:00 2001
From: Mark Otto <markdotto@gmail.com>
Date: Mon, 7 Dec 2015 21:57:06 -0800
Subject: [PATCH] fixes #18330

---
 scss/_reboot.scss | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/scss/_reboot.scss b/scss/_reboot.scss
index 8b9420cf16..a3e4175a46 100644
--- a/scss/_reboot.scss
+++ b/scss/_reboot.scss
@@ -77,6 +77,15 @@ body {
   background-color: $body-bg;
 }
 
+// Suppress the focus outline on elements that cannot be accessed via keyboard.
+// This prevents an unwanted focus outline from appearing around elements that
+// might still respond to pointer events.
+//
+// Credit: https://github.com/suitcss/base
+[tabindex="-1"]:focus {
+  outline: none !important;
+}
+
 
 //
 // Typography
-- 
GitLab