Skip to content

[SF][A11y][Dialog]: [The footer in dialog has wrong role] #6781

@tandan0813

Description

@tandan0813

Describe the bug

Bahavior:
The footer in dialog has role: toolbar
Image

Expected Behavior:
Role Toolbar should only be used when 2 or more controls are present
Please refer https://jira.tools.sap/browse/FIORITECHA01-19037

Isolated Example

Please see the example in https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/modals-popovers-dialog--docs

Reproduction steps

  1. Open https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/modals-popovers-dialog--docs
  2. Open dialog in example
  3. See the role of footer in dialog

Expected Behaviour

No response

Screenshots or Videos

No response

UI5 Web Components for React Version

2.5.0

UI5 Web Components Version

2.5.1

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

Organization

No response

Declaration

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions