From: Maciek Baron Date: Thu, 9 May 2019 20:03:32 +0000 (+0100) Subject: Improve poll link accessibility (#10720) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=0402c52f28b73824d7c81c702a16d39fd97808cf;p=mastodon.git Improve poll link accessibility (#10720) * Add distinction between hover and active/focus states * Resolves #10198 --- diff --git a/app/javascript/styles/mastodon/polls.scss b/app/javascript/styles/mastodon/polls.scss index d8bc5473a..37c454a78 100644 --- a/app/javascript/styles/mastodon/polls.scss +++ b/app/javascript/styles/mastodon/polls.scss @@ -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 {