Improve accessibility for screenreader users (#593)
Co-authored-by: Naïm Favier <n@monade.li>
This commit is contained in:
parent
24bdbc97b3
commit
1d9fac3a57
|
@ -1056,7 +1056,7 @@ viewResults nixosChannels model result viewSuccess _ outMsg categoryName =
|
||||||
in
|
in
|
||||||
[ div []
|
[ div []
|
||||||
[ Html.map outMsg <| viewSortSelection model
|
[ Html.map outMsg <| viewSortSelection model
|
||||||
, div []
|
, h2 []
|
||||||
(List.append
|
(List.append
|
||||||
[ text "Showing results "
|
[ text "Showing results "
|
||||||
, text from
|
, text from
|
||||||
|
|
|
@ -320,8 +320,9 @@ header .navbar.navbar-static-top {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Text that displays number of results
|
// Text that displays number of results
|
||||||
& > div:nth-child(2) {
|
& > h2:nth-child(2) {
|
||||||
font-size: 1.7em;
|
font-size: 1.7em;
|
||||||
|
font-weight: normal;
|
||||||
line-height: 1.3em;
|
line-height: 1.3em;
|
||||||
|
|
||||||
& > p {
|
& > p {
|
||||||
|
|
Loading…
Reference in a new issue