-
Notifications
You must be signed in to change notification settings - Fork 1.6k
fix: use h6 for message navigation #5605 #5640
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
base: main
Are you sure you want to change the base?
fix: use h6 for message navigation #5605 #5640
Conversation
|
@Aditya-Raj-25 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
Fixes #5605
Description
This PR addresses the accessibility issue where navigating between messages was difficult for screen reader users.
It replaces the
ScreenReaderTextcomponent with an<h6>element inActivityRow.tsx.The
<h6>element is visually hidden but exposed to the accessibility tree, allowing users to navigate using the 'H' key.Changes
packages/component/src/Transcript/ActivityRow.tsxto use<h6>.packages/component/src/Transcript/ActivityRow.spec.tsx.