Pass in a prop to override screen reader text for chat messages i.e. "Bot Says..." -> "{name} Says..."
See original GitHub issueFeature Request
Use the ‘Enhancement’ query to search for the most popular feature requests.
The Sample tag also lists examples and implementations that have already been requested.
We would like to have the option to customize the screen reader text for incoming messages. We see that the screen reader is hard coded to use “Bot says {message}”, but we would like to be able to pass in a value to change it to a different value i.e. “Alice says {message}”
Is your feature request related to a problem? Please describe.
Currently, screen readers will always begin with “Bot says {message}”, but accessibility-wise, we don’t always want to begin with that text.
Describe the suggestion or request in detail
We want to pass in a name as an optional override to replace “Bot” in the screen reader text, when we initialize the WebChat component.
Describe alternatives you have considered
Additional context
[Enhancement]
Issue Analytics
- State:
- Created 4 years ago
- Comments:21 (10 by maintainers)
Top Results From Across the Web
Make a screen reader talk with JavaScript and ARIA
When the speak function is called, we add a div at the end of the page. We add an aria-live attribute to it...
Read more >What is the difference between state and props in React?
From the child's perspective, the name prop is immutable. If it needs to be changed, the parent should just change its internal state:...
Read more >Overlay is not accessible to screen reader users - Drupal
I'd like to see Overlay in core. I've attached a screen shot of one way to disable this from the install page (mind...
Read more >Ticket: # 1227953 - Spam advertisement emails Description
google several times, they say change your password, do the privacy settings (which ... Ticket: # 1230693 - spam text message to cell...
Read more >Preschool Learning Foundations Vol. 1 - Child Development ...
A Message from the State Superintendent ... California Early Reading First Network ... Tells another child to be gentle with the classroom.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep, entire aria-label, not including the actual activity text. 😃 great!
I’m reopening this issue for further discussion within the team. We’ll get back to you shortly. 😃