Programmatic Access - Bot Framework Web Chat- Card Flight]: 'Alt ' text or role='none/presentation' is not defined for the for the images. #5351
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
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?
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?
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:
The text was updated successfully, but these errors were encountered: