-
Notifications
You must be signed in to change notification settings - Fork 87
feat: add tooltip support to vaadin-side-nav-item #10008
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
Conversation
2d495d4
to
296e591
Compare
2d8c09f
to
eb2c3de
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested the PR and wasn’t able to make tooltip announced in VoiceOver or NVDA it neither when setting aria-describedby
on the slotted item content element, nor on the item itself.
When setting it on the item itself, at least JAWS announces it:
So I will update the PR accordingly. We probably should also document this as an a11y limitation.
4f0048d
to
fdf7c29
Compare
Some observations from the internal discussion by @sissbruecker:
|
e8b923e
to
1c63e9a
Compare
a6c8e42
to
97d1d62
Compare
97d1d62
to
dbc16e3
Compare
Rebased after merging #10045. |
|
Hi @HerbertsVaadin and @web-padawan, when i performed cherry-pick to this commit to 24.9, i have encountered the following issue. Can you take a look and pick it manually? |
I'll cherry-pick #10045 first and then this PR manually. |
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
Description
Adds better support for adding
vaadin-tooltip
tovaadin-side-nav-item
, by providing a slot for it, and attaching the tooltip to only parent content.This prevents tooltip appearing when hovering over items children.
Part of vaadin/flow-components#7615
Type of change
Checklist
Additional for
Feature
type of change(no Acceptance Criteria, but scope was defined)