Skip to content

Commit

Permalink
[TASK] remove outline styles set to none to have visible focus on ele…
Browse files Browse the repository at this point in the history
…ments (#318)

It's important to have a visible focus on accessible elements
  • Loading branch information
Anna Färber authored and dmh committed Oct 30, 2017
1 parent 3ee4b3f commit 603371c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@

&:hover,
&:focus {
outline: 0;
color: @carousel-control-color;
text-decoration: none;
.opacity(.9);
Expand Down
13 changes: 0 additions & 13 deletions felayout_t3kit/dev/styles/main/header/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -1016,10 +1016,6 @@
}
}

.main-navigation__search-box input:focus {
outline: none;
}

.main-navigation__search-box {
position: relative;
height: @nav-height;
Expand Down Expand Up @@ -1137,10 +1133,6 @@
z-index: 500;
}

.main-navigation__toggle-btn:focus {
outline: none;
}

.main-navigation__toggle-btn span {
display: block;
position: absolute;
Expand Down Expand Up @@ -1263,10 +1255,6 @@
font-size: 16px;
}

.header-middle__search-input:focus {
outline: none;
}

@media (min-width: 768px) {
.header-middle__search-input {
margin-top: (@header-middle-height - @header-middle-search-height) / 2;
Expand All @@ -1284,7 +1272,6 @@
top: 0;
right: 0;
-webkit-appearance: none;
outline: none;
transition: background 0.2s ease;
padding: 0;
}
Expand Down

0 comments on commit 603371c

Please sign in to comment.