I have checkboxs in a repeating grid table, when any of the check boxes are checked a new button will appear via a visibility condition. The issue is the screenreader will not announce that a new control is made avaliable and will simply state "checked" whenever a checkbox has been checked. Is there a way for the screenreader to either
- announce the button is now visible on the first instance of the visibility condition = true
- Tag some extra text for the screen reader to announce whenever a checkbox is checked. e.g "checked XXXX button is available."
***Edited by Moderator: Pooja Gadige to add capability tag***
One option could be to use dynamic layout roles to achieve the behavior. You could place a dynamic layout around the control that becomes visible (if there is not one already), and open the configuration for the dynamic layout. At the bottom of the General tab you should see Role and Value dropdowns. You could select something along the lines of:
Role type: Component/Widget
This applies role="alert" to the div that is generated from this dynamic layout at runtime, so anything inside of it that gets changed (like a button becoming visible) should trigger the alert to screen readers. You can also add a label on the dynamic layout.
Posted: 3 weeks ago
Updated: 3 weeks ago
Posted: 1 Nov 2022 12:39 EDT Updated: 1 Nov 2022 12:41 EDT