XWIKI-22580: New release input fields have no text alternative #3580
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Jira URL
https://jira.xwiki.org/browse/XWIKI-22580
Changes
Description
Clarifications
Screenshots & Video
After the PR, we can see that both of the fields are labelled in a generic but correct way.
A test with axe devtool does not find any warning on this page. Before the changes it would have found two
missing label
.Executed Tests
Successfully built oldcore with
mvn clean install -f xwiki-platform-core/xwiki-platform-oldcore -Pquality
After building the other changes withmvn clean install -f xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates
, I ran the test that sent a WCAG warning on CI withmvn clean install -f xwiki-platform-core/xwiki-platform-release/xwiki-platform-release-test/xwiki-platform-release-test-docker -Pdocker -Dxwiki.test.ui.wcag=true
. It returned only the warning for the date field (less than the two warnings from before). I do not understand why this automated test still warns about the date field. Manual tests on a local instance with updatedStringClass.class
,PropertyClass.class
anddisplayer_date.vm
showed that this date input warning is solved.If this PR gets merged, I'll keep an eye on the CI tests to see how the results evolve. Hopefully it was just a test setup mistake from my end and this PR solves the ticket completely. If not, I'll try to figure out what's happening in the test suite and provide a patch to correct this test.
Expected merging strategy