Skip to content

Commit 486a253

Browse files
committed
Ignore warnings from htmlvalidator about empty option.
WARNING:html5validator.validator:"file:src/main/webapp/WEB-INF/views/series/info.html":428.16-428.35: error: The first child "option" element of a "select" element with a "required" attribute, and without a "multiple" attribute, and without a "size" attribute whose value is greater than "1", must have either an empty "value" attribute, or must have no text content. Consider either adding a placeholder option label, or adding a "size" attribute with a value equal to the number of "option" elements. When I'm adding empty option then there is no way to set a default value. In Safari and Firefox "selected" attribute doesn't work. Should be in fe9f30d commit. No functional changes.
1 parent 3b026cd commit 486a253

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/scripts/ci/check-build-and-verify.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ if [ "$RUN_ONLY_INTEGRATION_TESTS" = 'no' ]; then
3939
'Attribute “(th|sec|togglz):[a-z]+” is not serializable' \
4040
'Attribute with the local name “xmlns:[a-z]+” is not serializable' \
4141
'An "img" element must have an "alt" attribute' \
42+
'The first child "option" element of a "select" element with a "required" attribute' \
4243
--show-warnings \
4344
>validator.log 2>&1 || HTML_FAIL=yes
4445
mvn --batch-mode test \

0 commit comments

Comments
 (0)