Skip to content

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

Closed

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

Activity

  1. added
    bugIndicates an unexpected problem or an unintended behavior.
    customer-reportedRequired for internal Azure reporting. Do not delete.
    Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.
    on Feb 20, 2026
  2. OEvgeny commented on Oct 22, 2026

    @OEvgeny
    Collaborator

    The fix (#5900) is now available in the nightly build botframework-webchat@4.19.3-main.20261021.71a806e (npm tag main), and will ship in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions