mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-25 14:42:37 +03:00
contain all content in landmarks
This commit is contained in:
parent
4618cc5fde
commit
1a36f88c6d
@ -12,7 +12,7 @@ jq -r -f script/axe-report.jq "$JSON_FILE"
|
|||||||
# Hey there! Did this script tell you to check out this file because the
|
# Hey there! Did this script tell you to check out this file because the
|
||||||
# expected error count went down? Well done! Just change this number to the new
|
# expected error count went down? Well done! Just change this number to the new
|
||||||
# value.
|
# value.
|
||||||
TARGET_ERRORS=48
|
TARGET_ERRORS=47
|
||||||
|
|
||||||
# ideally we'd fail on any failures, but we have had a bunch build up over time!
|
# ideally we'd fail on any failures, but we have had a bunch build up over time!
|
||||||
# So right now, we need to fail if the error count is not exactly what we
|
# So right now, we need to fail if the error count is not exactly what we
|
||||||
|
@ -119,7 +119,7 @@ navigation route =
|
|||||||
]
|
]
|
||||||
[ element ]
|
[ element ]
|
||||||
in
|
in
|
||||||
Html.styled Html.div
|
Html.styled Html.nav
|
||||||
[ flexBasis (px 200)
|
[ flexBasis (px 200)
|
||||||
, backgroundColor Colors.gray96
|
, backgroundColor Colors.gray96
|
||||||
, marginRight (px 40)
|
, marginRight (px 40)
|
||||||
@ -128,7 +128,9 @@ navigation route =
|
|||||||
, top (px 150)
|
, top (px 150)
|
||||||
, flexShrink zero
|
, flexShrink zero
|
||||||
]
|
]
|
||||||
[ id "categories" ]
|
[ id "categories"
|
||||||
|
, attribute "aria-label" "Main Navigation"
|
||||||
|
]
|
||||||
[ Heading.h4 [] [ Html.text "Categories" ]
|
[ Heading.h4 [] [ Html.text "Categories" ]
|
||||||
, (categoryLink (route == Routes.All) "#" "All"
|
, (categoryLink (route == Routes.All) "#" "All"
|
||||||
:: List.map
|
:: List.map
|
||||||
|
Loading…
Reference in New Issue
Block a user