Skip to content

MessageViewButton: Accessibility, no built-in localized tooltip when severity is different from "Error" #6594

@ehn-sap

Description

@ehn-sap

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

  1. Open the demo page
  2. Hover the different buttons
  3. Only the Error button displays a tooltip

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

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions