]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove dropdown anchor focus override
authorAri Rizzitano <arizzitano@edx.org>
Mon, 18 Sep 2017 19:38:26 +0000 (15:38 -0400)
committerMark Otto <markd.otto@gmail.com>
Sat, 30 Sep 2017 21:19:00 +0000 (14:19 -0700)
Overriding the focus outline for links within the dropdown menu
causes accessibility issues for keyboard-only users. This
removes the override, reenabling the browser's default focus
outline.

scss/_dropdown.scss

index 05e8b165232f497515251f863bc835916965d9ab..6e81947ed9f047908d864814d3e5bd22dcb09ee2 100644 (file)
   }
 }
 
-// Open state for the dropdown
-.show {
-  // Remove the outline when :focus is triggered
-  > a {
-    outline: 0;
-  }
-}
-
 .dropdown-menu.show {
   display: block;
 }