0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-08-10 16:55:01 +00:00

Fix a11y issues on the brew item card so screen reader users and keyboard navigators can use it.

This commit is contained in:
durstann
2026-08-01 01:00:51 -07:00
parent a280304776
commit 5ddc0373b7
2 changed files with 17 additions and 15 deletions
@@ -89,7 +89,7 @@
&::before { content : '\f518'; }
}
}
&:hover {
&:hover, &:focus-within {
.links { opacity : 1; }
}
&:nth-child(2n + 1) { margin-right : 0px; }
@@ -103,7 +103,7 @@
text-align : center;
background-color : fade(black, 60%);
opacity : 0;
a {
a, button {
.animate(opacity);
display : block;
margin : 8px 0px;
@@ -111,6 +111,7 @@
color : white;
text-decoration : unset;
opacity : 0.6;
width : 100%;
&:hover { opacity : 1; }
i { cursor : pointer; }
}