Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: aria attributes on stories tag search and advanced search term dropdowns #2433

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

LeoniePeters
Copy link
Contributor

@LeoniePeters LeoniePeters commented Sep 17, 2024

Elements with the role searchbox that control the expansion and collapse of other elements should be wrapped in an element with role combobox.
combobox elements require a child with role listbox which require children with role option.
For reference on the different aria roles, see: https://www.w3.org/TR/wai-aria-1.1/#combobox

This PR refactors the StoriesTagsDropdown and SearchQueryBuilderRuleTermInput to the required markup. That is also in line with what is already correctly implemented for the SearchForm.

To do:

  • consider refactoring the listbox into a grid which might be more appropriate for the StoriesTagsDropdown

Copy link

Preview deployment: https://pr-2433.portal-js.dev.eanadev.org/

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@LeoniePeters LeoniePeters added the work in progress Work in progress, not yet ready to be merged label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
work in progress Work in progress, not yet ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant