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

Popover sets ARIA attributes on field component root instead of input element #8703

Closed
9 of 10 tasks
rolfsmeds opened this issue Feb 20, 2025 · 0 comments · Fixed by #8721
Closed
9 of 10 tasks

Popover sets ARIA attributes on field component root instead of input element #8703

rolfsmeds opened this issue Feb 20, 2025 · 0 comments · Fixed by #8721
Labels
a11y Accessibility issue vaadin-popover

Comments

@rolfsmeds
Copy link
Contributor

What is the problem?

Popover sets aria-haspopup, aria-expanded and aria-controls attributes on its target element, but on field components these are ineffective as they are not applied to the native input element inside, where focus goes, but on the root element, where they are not seen by screen readers.

Example: https://vaadin.com/docs/latest/components/popover#rich-interactive-tooltip

Popover's ARIA attributes should be applied to the native inputs instead of the root element, similarly to aria-label(ledby) and aria-describedby.

Browsers

  • Chrome
  • Firefox
  • Safari
  • Safari on iOS
  • Edge

Screen Readers

  • None
  • NVDA
  • JAWS
  • VoiceOver on MacOS
  • VoiceOver on iOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility issue vaadin-popover
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant