mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-29 16:44:41 +03:00
Fix duped ids
This commit is contained in:
parent
1debf11c3b
commit
6ab4a905ff
@ -14,7 +14,7 @@ jq -r -f script/axe-report.jq "$JSON_FILE"
|
||||
# expect. This failure reminds us to come back and ratchet down the number of
|
||||
# failures to the correct value.
|
||||
NUM_ERRORS="$(jq '.violations | map(.nodes | length) | add' "$JSON_FILE")"
|
||||
TARGET_ERRORS=66
|
||||
TARGET_ERRORS=62
|
||||
if test "$NUM_ERRORS" -ne "$TARGET_ERRORS"; then
|
||||
echo "got $NUM_ERRORS errors, but expected $TARGET_ERRORS."
|
||||
echo
|
||||
|
@ -85,7 +85,7 @@ example parentMessage state =
|
||||
}
|
||||
, Heading.h3 [] [ Html.text "invisible label" ]
|
||||
, TextInput.view
|
||||
{ label = "Criterion"
|
||||
{ label = "Invisible label text input"
|
||||
, isInError = False
|
||||
, placeholder = "For example, \"Something!!\""
|
||||
, value = Maybe.withDefault "" <| Dict.get 2 state.textInputValues
|
||||
@ -97,7 +97,7 @@ example parentMessage state =
|
||||
}
|
||||
, Html.br [] []
|
||||
, TextInput.view
|
||||
{ label = "Criterion"
|
||||
{ label = "Invisible label text input with error"
|
||||
, placeholder = "Everything you type is wrong!"
|
||||
, value = Maybe.withDefault "" <| Dict.get 3 state.textInputValues
|
||||
, onInput = SetTextInput 3
|
||||
|
Loading…
Reference in New Issue
Block a user