Skip to content

Issues with Non-Supported/Prohibited ARIA Attributes in Bot Framework #5388

Open
@octsdamas

Description

@octsdamas

Is it an issue related to Adaptive Cards?

No.

What is the PWD impact?

During an accessibility audit, the following issues with ARIA attributes were found:

  • aria-labelledby on Non-Semantic Elements:

Issue: aria-labelledby is used on non-semantic elements like

, which may cause assistive technologies to read the content instead of the attribute’s value.
Recommendation: Use semantic elements (e.g., , ) or add appropriate roles to improve accessibility.

  • aria-invalid Set to False:

Issue: Setting aria-invalid to false is equivalent to not using the attribute, which provides no useful information to assistive technologies.
Recommendation: Set aria-invalid to true only when validation fails.

  • aria-disabled Set to False:

Issue: Setting aria-disabled to false before validation or form submission doesn’t convey the element’s disabled state to assistive technologies.
Recommendation: Set aria-disabled to true when the element is disabled.

What browsers and screen readers do this issue affect?

Others

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

Yes, however, this also repro when customizations are not in use.

What version of Web Chat are you using?

Latest production

Which area does this issue affect?

ARIA roles

What is the public URL for the website?

https://www.okanagan.bc.ca/

How to reproduce the issue?

  1. Navigate to inspect
  2. Type aria-labeledby in filter box
  3. See the divs used as labels

What do you expect?

The screen reader reader the text between the div tags.

What actually happened?

The screen reader might read the atribute value instead of the text between the divs.

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

No response

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

No response

MAS reference

No response

WCAG reference

No response

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