contain all content in landmarks

This commit is contained in:
Brian Hicks 2019-11-15 16:21:05 -06:00
parent 4618cc5fde
commit 1a36f88c6d
2 changed files with 5 additions and 3 deletions

View File

@ -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
# expected error count went down? Well done! Just change this number to the new
# value.
TARGET_ERRORS=48
TARGET_ERRORS=47
# 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

View File

@ -119,7 +119,7 @@ navigation route =
]
[ element ]
in
Html.styled Html.div
Html.styled Html.nav
[ flexBasis (px 200)
, backgroundColor Colors.gray96
, marginRight (px 40)
@ -128,7 +128,9 @@ navigation route =
, top (px 150)
, flexShrink zero
]
[ id "categories" ]
[ id "categories"
, attribute "aria-label" "Main Navigation"
]
[ Heading.h4 [] [ Html.text "Categories" ]
, (categoryLink (route == Routes.All) "#" "All"
:: List.map