question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pass in a prop to override screen reader text for chat messages i.e. "Bot Says..." -> "{name} Says..."

See original GitHub issue

Feature 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:closed
  • Created 4 years ago
  • Comments:21 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
corinagumcommented, Jan 25, 2020

Yep, entire aria-label, not including the actual activity text. 😃 great!

1reaction
corinagumcommented, Jan 22, 2020

I’m reopening this issue for further discussion within the team. We’ll get back to you shortly. 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found