Skip to content

Commit 74dd6ca

Browse files
MaciekBaronGargron
authored andcommitted
Improve poll link accessibility (mastodon#10720)
* Add distinction between hover and active/focus states * Resolves mastodon#10198
1 parent 6149a10 commit 74dd6ca

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

app/javascript/styles/mastodon/polls.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,14 @@
114114
text-decoration: underline;
115115
font-size: inherit;
116116

117-
&:hover,
118-
&:focus,
119-
&:active {
117+
&:hover {
120118
text-decoration: none;
121119
}
120+
121+
&:active,
122+
&:focus {
123+
background-color: rgba($dark-text-color, .1);
124+
}
122125
}
123126

124127
.button {

0 commit comments

Comments
 (0)