Need help with React Native Web accessibility

I am currently working on a component that handles refinement filters in React Native Web. I need to have a screen reader (voiceover) announce when you delete one of these applied filters to the user. Currently I have the label set to accessibilityLabel= 'Clear ' + refinment.title I want it to read the label and then something like “Removed” when you fire off the removal. Any help and/or suggestions would be great! Thanks

Firstly, welcome to the forums.

While we are primarily here to help people with their Free Code Camp progress, we are open to people on other paths, too.

With your current questions, we don’t have enough context to know what you already know or don’t know, so it is impossible to guide you without just telling you the answer (which we won’t do).

It is pretty typical on here for people to share a codepen / / jsfiddle example of what they have tried so that anyone helping has more of an idea of what help is actually helpful.

Please provide some example of what you’ve tried and I’m sure you’ll get more help.

Happy coding :slight_smile:

I have tried using accessibiltyLiveRegion. Both ‘polite’ and ‘assertive’ but nothing is announcing when I remove the button… There is an onPress function that causes the removal of the button from the screen, any ideas on associating a new accessibilityLabel into the onPress to announce “removed”??