Skip to content

Role is not defined for the play/pause control. #5741

@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 the role is not defined for the play/pause control, screen reader users cannot understand what type of element it is or how to interact with it. They may only hear “button” or nothing at all, leaving them unsure whether it controls audio, video, or another function.

What browsers and screen readers do this issue affect?

Windows: Edge with Windows Narrator

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 'Audio'.
  3. Navigate to Pay/pause control present in bot response.
  4. Observe the issue that Role is not defined for the play/pause control.

What do you expect?

Role as button should be defined for the play/pause control.

What actually happened?

Role is not defined for the play/pause control.

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

Role.is.not.defined.for.the.play.pause.control.1.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