Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programmatic Access - Bot Framework Web Chat- Card Flight]: 'Alt ' text or role='none/presentation' is not defined for the for the images. #5351

Open
manojs5 opened this issue Nov 5, 2024 · 1 comment
Labels
area-accessibility Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-reported Required for internal Azure reporting. Do not delete. external-adaptive-cards

Comments

@manojs5
Copy link

manojs5 commented Nov 5, 2024

Is it an issue related to Adaptive Cards?

No.

What is the PWD impact?

User Experience:

When elements lack alt text, it can significantly hinder the accessibility of the content for these users. Screen readers rely on alt text to convey the meaning and context of images to users who cannot view them visually. Without alt text, screen reader users may miss important information or context provided by the images.

Note:

User credentials should NOT be included in the bug.

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?

ARIA roles

What is the public URL for the website?

https://compulim.github.io/webchat-loader/

How to reproduce the issue?

  1. Open URL: https://compulim.github.io/webchat-loader/ and sign in using valid credentials.
  2. Navigate to web chat page and select 4.18.1-main.20240927.ea7a875 (30/9/2024) version and then select mockBot link under present label and then select open web chat in new window link at bottom.
  3. Navigate to white label experience chat page and type Card Flight word in type your message text box.
  4. Navigate to the search results.
  5. Verify the issue.

What do you expect?

There should be alternate text or a role of none or presentation for the images.

Ex:

Ensures elements have alternate text or a role of none or presentation

What actually happened?

'Alt ' text or role='none/presentation' is not defined for the images.

Observation:

Screen reader (Narrator, nvda, jaws) announces as 'Unlabeled graphic to get missing image descriptions, open the context menu'.

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

Image
https://github.com/user-attachments/assets/29b60239-2eb9-4b80-b0c9-620eff443392

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

No response

MAS reference

MAS 1.1.1 – Non-text Content

WCAG reference

1.1.1 Non-text Content

WAI-ARIA reference

No response

Adaptive Card JSON

No response

Additional context

Issue:

Ensures elements have alternate text or a role of none or presentation (image-alt - )

Target application:

Web Chat -

Element path:

div:nth-child(3) > img

Snippet:

How to fix:

Fix any of the following:

  • Element does not have an alt attribute
  • aria-label attribute does not exist or is empty
  • aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  • Element has no title attribute
  • Element's default semantics were not overridden with role="none" or role="presentation"
@manojs5 manojs5 added area-accessibility Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-reported Required for internal Azure reporting. Do not delete. labels Nov 5, 2024
@manojs5
Copy link
Author

manojs5 commented Nov 5, 2024

#A11YAuto;#A11yMAS;#A11ySev2;#Accessibility;;#Benchmark;#BotFrameworkWebChat-Oct24;#HCL;#K4W;#MAS1.1.1;#Win11-Edge(Chromium);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-accessibility Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-reported Required for internal Azure reporting. Do not delete. external-adaptive-cards
Projects
None yet
Development

No branches or pull requests

2 participants