Skip to content

Commit

Permalink
Improve poll link accessibility (mastodon#10720)
Browse files Browse the repository at this point in the history
* Add distinction between hover and active/focus states
* Resolves mastodon#10198
  • Loading branch information
MaciekBaron authored and hiyuki2578 committed Oct 2, 2019
1 parent e8438e2 commit d0a5d1c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/javascript/styles/mastodon/polls.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,14 @@
text-decoration: underline;
font-size: inherit;

&:hover,
&:focus,
&:active {
&:hover {
text-decoration: none;
}

&:active,
&:focus {
background-color: rgba($dark-text-color, .1);
}
}

.button {
Expand Down

0 comments on commit d0a5d1c

Please sign in to comment.