Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Jayson Di Pietro626 Points
Add a message for aria-live/ accessibilityLiveRegion
I am editing a button that currently loads more products onto a page. A "Load More" button. For ADA compliance, when voiceover is on this button must say "loading" when clicked. I have injected aria-live/accessibilityLiveRegion into the component but it just reads "Load more Load more" when pressed... Can I add a message somehow to the aria live? Or any advice on how to get a button to read 'Loading' after pressed in React Native Web?