XWIKI-22492: Livedata filter options are misread #3808
Merged
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-22492
A regression on a11y tests has been reported caused by the commit for this ticket. E.g.
https://ci.xwiki.org/job/XWiki%20Environment%20Tests/job/xwiki-platform/job/master/786/testReport/org.xwiki.release.test.ui/AllIT/MySQL_9_1__Tomcat_11_jdk21__Chrome___Docker_tests_for_xwiki_platform_release___Build_for_MySQL_9_1__Tomcat_11_jdk21__Chrome___Docker_tests_for_xwiki_platform_release______/
Changes
Description
Clarifications
aria-selected
attribute on regular elements.options
elements. However:listbox
role would fit for the dropdown but not for the input.Screenshots & Video
None, the screen reader experience is the same as the one that was found in #3700 :
https://github.com/user-attachments/assets/5927a1bf-6232-4a54-a46c-e4a40f60f388
Executed Tests
Manual test with two screen readers to check that the changes reverted didn't revert the resolution from the initial commit. Everything is read out properly on Orca and NDVA.
Built the changes successfully with
mvn clean install -f xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war -Pquality
. After that, I checked one test suite that failed because of the changes in the initial commits:mvn clean install -f xwiki-platform-core/xwiki-platform-release/xwiki-platform-release-test/xwiki-platform-release-test-docker -Dxwiki.test.ui.wcag=true
. The only WCAG violations found were warnings (not test fails) about labels, unrelated to this ticket.Expected merging strategy