-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add ScreenReaderText component #2278
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpicking, it looks good.
Cross-browser accessibility work is much more harder than cross-browser compatibility work. Good to see how you managed it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, again!
* Create component ScreenReaderText * Update CHANGELOG.md * PR cleanup * PR cleanup
Fixes #2273
Changelog Entry
Description
Narrator and NVDA were unable to examine the transcript of Web Chat in scan mode. These fixes re-enable scan mode with AT.
Specific Changes
<TimeAgo>
to<RelativeTime>
flat()
fromAdaptiveCardRenderer.js
ScreenReaderText
component, which adds<span>
with text applied toaria-label
and the innerHTML, which allows for reading the text both in readout mode and scan mode.Testing Added