Programmatic Access - Bot Framework Web Chat- Card Sportsclub]: 'Alt ' text or role='none/presentation' is not defined for the for the image under 'Card Sportsclub' #5354
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".
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.
Navigate to white label experience chat page and type Card Sportsclub word in type your message text box.
Navigate to the search results. Run AI.
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 for the image under 'Card Sportsclub' .
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?
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:
.ac-container[dir="ltr"]:nth-child(1) > div > .ac-image
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"
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 for the image under 'Card Sportsclub' .
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?
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:
.ac-container[dir="ltr"]:nth-child(1) > div > .ac-image
Snippet: