[Tooltip] Tooltip title prop has been changed to aria_label in the rendered component. #30250
Closed
2 tasks done
Labels
component: tooltip
This is the name of the generic UI component, not the React module!
status: expected behavior
Does not imply the behavior is intended. Just that we know about it and can't work around it
Duplicates
Latest version
Current behavior 馃槸
Steps:
Passing title prop to Tooltip will actually be transformed to aria_label in the children component. In MUI v4 rendered children components would have the title attribute.
Expected behavior 馃
Children components of Tooltip should have the title prop.
Steps to reproduce 馃暪
Steps:
Context 馃敠
I had a lot of Reacts tests using getByTitle which now fail.
Your environment 馃寧
`npx @mui/envinfo`
System: OS: macOS 11.6 Browsers: Chrome: 95.0.4638.69The text was updated successfully, but these errors were encountered: