Skip to content

Incorrect role is defined for the ‘Snooze’ and ‘dismiss’ control. #5750

@232amansingh

Description

@232amansingh

Is it an issue related to Adaptive Cards?

Yes, this is related to Adaptive Card. However, it does not repro on Adaptive Cards Designer.

What is the PWD impact?

When an incorrect role is defined for the ‘Snooze’ and ‘dismiss’ controls, screen reader users receive misleading or incomplete information. For example, if these controls are marked as role="link" but actually behave like buttons, users may expect navigation instead of an action.

What browsers and screen readers do this issue affect?

No response

Are there any code-based customization done to Web Chat?

No, I am using Web Chat without any customizations except "styleOptions".

What version of Web Chat are you using?

Latest production

Which area does this issue affect?

Others or unrelated

What is the public URL for the website?

No response

How to reproduce the issue?

Repro Steps: ​

  1. Open URL: Web Chat in edge browser.
    2.Ask query 'Card Breakfast'.
  2. Navigate to ‘Place to buy’ and ‘Related product’ control.
  3. Observe the issue that Incorrect role is defined for the ‘Snooze’ and ‘dismiss’ control.

What do you expect?

Role as button should be defined for the ‘Snooze’ and ‘dismiss’ control.

What actually happened?

Incorrect role is defined for the ‘Snooze’ and ‘dismiss’ control.

Do you have any screenshots or recordings to repro the issue?

Incorrect.role.is.defined.for.the.Smooze.and.dismiss.control.mp4

Did you find any DOM elements that might have caused the issue?

No response

MAS reference

No response

WCAG reference

https://www.w3.org/WAI/WCAG21/Understanding/name-role-value

WAI-ARIA reference

No response

Adaptive Card JSON

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.area-accessibilitybugIndicates an unexpected problem or an unintended behavior.customer-reportedRequired for internal Azure reporting. Do not delete.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions