Improve accessibility for screenreader users (#593)

Co-authored-by: Naïm Favier <n@monade.li>
This commit is contained in:
sem pruijs 2023-01-06 16:43:26 +01:00 committed by GitHub
parent 24bdbc97b3
commit 1d9fac3a57
Failed to generate hash of commit
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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 {