Existing sample from documentation shows this. The blank tooltip is shortly after the button when it isn't even shown.
Use any v-tooltip.
Expected Behavior
Tooltip shouldnt be present in the accessibility tree when not shown. And a screenreader will not see it and waste time reading it.
Actual Behavior
A blank string tooltip is always present at the highest level of the DOM, and is seen in the accessibility tree. Screenreader sees this and reads "Blank" for each tooltip.
Semi-Workaround: use the contained prop and a ref activator, and have the tooltip outside of the element that activates it. When using the contained prop, I can't really put the tooltip inside of the element that activates it because it messes up it's styles.
The blank tooltip will still be in the DOM, but at least it appears adjacent to its relevant DOM node.
Environment
Vuetify Version: 3.3.13 Vue Version: 3.3.4 Browsers: Chrome 115.0.0.0 OS: Windows 10
Steps to reproduce
Existing sample from documentation shows this. The blank tooltip is shortly after the button when it isn't even shown.
Expected Behavior
Tooltip shouldnt be present in the accessibility tree when not shown. And a screenreader will not see it and waste time reading it.
Actual Behavior
A blank string tooltip is always present at the highest level of the DOM, and is seen in the accessibility tree. Screenreader sees this and reads "Blank" for each tooltip.
Reproduction Link
https://play.vuetifyjs.com/#...
Other comments
Semi-Workaround: use the contained prop and a ref activator, and have the tooltip outside of the element that activates it. When using the contained prop, I can't really put the tooltip inside of the element that activates it because it messes up it's styles.
The blank tooltip will still be in the DOM, but at least it appears adjacent to its relevant DOM node.