Closed
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
aria-describedby
attribute should not be present at the host element when tooltip is disabled
Reproduction
Can be reproduced in documentation
Steps to reproduce:
- Click "Tooltip disabled" checkbox
- Use SR to check that tooltip is stiil readable
- Check that
aria-describedby
is present on the button element
Expected Behavior
Disabled tooltip is not exposed to assistive technologies
Actual Behavior
Screen reader reads disabled tooltip
Environment
- CDK/Material: 18.1.2
- Browser(s): Safari, Chrome
- Operating System: macOS 14.2.1
- Screen reader: VoiceOver