-
Notifications
You must be signed in to change notification settings - Fork 103
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
MessageViewButton: Accessibility, no built-in localized tooltip when severity is different from "Error" #6594
Comments
🎉 This issue has been resolved in version v1.29.14 🎉 The release is available on v1.29.14 Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version v2.5.0 🎉 The release is available on v2.5.0 Your semantic-release bot 📦🚀 |
Added default tooltips are mixed up. In packages/main/src/components/MessageViewButton/index.tsx, the function getTypes is incorrect: It seems I do not have the permissions to reopen the issue. |
Describe the bug
A MessageViewButton created with
type={ValueState.Negative}
displays a localized tooltip ('Error' in English)A MessageViewButton created with any other type (Critical, Positive or Information, for Warning, Success or Information severities) displays no tooltip
Isolated Example
https://sap.github.io/ui5-webcomponents-react/v2/?path=/story/inputs-messageviewbutton--severities
Reproduction steps
Expected Behaviour
Every button should display a localized tooltip, reflecting the severity.
It's an Accessibility requirement, as tooltips are used by screen readers.
Screenshots or Videos
No response
UI5 Web Components for React Version
latest, and previous
UI5 Web Components Version
latest
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
No response
Organization
No response
Declaration
The text was updated successfully, but these errors were encountered: