microsoft / BotFramework-WebChat

A highly-customizable web-based client for Azure Bot Services.
https://www.botframework.com/
MIT License
1.6k stars 1.55k forks source link

Timestamp is only visible to screenreaders #4985

Open cryptasian opened 10 months ago

cryptasian commented 10 months ago

Is it an issue related to Adaptive Cards?

No.

What is the PWD impact?

No response

What browsers and screen readers do this issue affect?

No response

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?

Transcript navigation, Others or unrelated

What is the public URL for the website?

https://edfinancial.com

How to reproduce the issue?

This is feedback from the accessibility company Allyant who has been testing our website and has people who use screenreaders and other assistive technologies as a part of their testing team.

The timestamp is only visible to screenreaders and is on the page as transparent text for visual users. If the timestamp is intended to be hidden from the user, it needs to also be hidden from screenreaders through the use of display:none or visibility:hidden.

timestamp-only-visible-to-screenreaders

What do you expect?

Screen readers should not be able to read the timestamp text that appears as "hidden" to the visual user.

What actually happened?

See other responses.

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

https://www.https://www.w3.org/WAI/WCAG22/Understanding/name-role-valuew3.org/WAI/WCAG22/Understanding/name-role-value

WAI-ARIA reference

No response

Adaptive Card JSON

No response

Additional context

No response

compulim commented 7 months ago

By default, Web Chat will show the timestamp. Can you check if the customer is hiding the timestamp purposefully?