Skip to content

[COGNITION]: Links must be announced to screen readers as links. Currently being announced as "messages" or just text #3934

@ianpsant

Description

@ianpsant

Please view our Technical Support Guide before filing a new issue.

Screenshots

Screen Shot 2021-05-24 at 1 56 47 PM

Version

<meta name="botframework-directlinespeech:version" content="4.12.0">
<meta name="botframework-webchat:bundle:variant" content="full-es5">
<meta name="botframework-webchat:bundle:version" content="4.12.0">
<meta name="botframework-webchat:core:version" content="4.12.0">
<meta name="botframework-webchat:ui:version" content="4.12.0">

Describe the bug

As a screen reader user, I need links to be announced as links, not "message" or read out as plain text.

Steps to reproduce

  1. JAWS and VoiceOver are reading out links in the VA chatbot responses as "LINK TEXT, message" or just reading out the link text and never saying "link". I was able to trace this to the four layers of aria-roledescription attributes that have been applied to various chatbot containers.

Expected behavior

  1. Remove all of the aria-roledescription attributes
  2. Add an aria-roledescription="link" attribute to the link markup (not preferred)
  3. Links announce themselves as "LINK TEXT, link" correctly in all major screen readers

Additional context

We do not have control over the aria-rolesecriptions that are applied to the parent elements of each link.
Corresponds to this VA GitHub issue: department-of-veterans-affairs/va.gov-team#25160

[Bug]

Metadata

Metadata

Assignees

Labels

Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.ExemptFromDailyDRIReportexempt from daily DRI reportarea-accessibilitybacklogOut of scope for the current iteration but it will be evaluated in a future release.bugIndicates 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