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

Search bar accessibility issue #7970

Open
alexarobu opened this issue Apr 19, 2024 · 0 comments
Open

Search bar accessibility issue #7970

alexarobu opened this issue Apr 19, 2024 · 0 comments

Comments

@alexarobu
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.

Hi, it's been brought to our attention during a recent accessibility test that the search bar on the Search and Editor board pages has an unsupported ARIA attribute (aria-expanded = "false") (see screenshot)

Please NOTE: this doesn't happen on the home page.

I tracked this down to possibly coming from

To Reproduce in Google Chrome
Steps to reproduce the behavior:

  1. Go to the Search page
  2. Right click and go to Inspect
  3. Go to Lighthouse
  4. Pick the following options: Mode: Navigation (Default); Device: Desktop; Categories: Accessibility
  5. Click Analyze page load
  6. See error: [aria-*] attributes do not match their roles

Expected behavior
A clear and concise description of what you expected to happen.
https://dequeuniversity.com/rules/axe/4.8/aria-allowed-attr

Screenshots
If applicable, add screenshots to help explain your problem.

image

Log file
If applicable, add the server log file to help trace your problem.

Desktop (please complete the following information):

  • Browser [e.g. chrome, safari]: Chrome
  • GeoNetwork Version [e.g. 22]: 4.2.9
  • Server Application [e.g. Tomcat 7 with Java 8]: Jetty in Docker

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant