How to use Accessibility Helper widget?

0
I'm trying to improve the accessibility of my application and found the Accessibility Helper widget. However, I'm a little confused on how it works.   I don't have a problem targeting a single element and adding attributes to it, but I don't understand how to add attributes to other elements within the container. The way the target selector is described ("Selector to find the first HTML element you want to target...") makes it seem like others can be targeted using the same instance of the widget instead of putting the widget around every element that I want to update.   If anyone has a better idea than using this widget, I am open to other options!
asked
1 answers
1

Hi Cayleigh,

The Accessibility Helper widget in Mendix targets only the first matching element within its container, so if you need to add attributes to multiple elements, you’ll have to wrap each one with a separate instance of the widget. Unfortunately, it doesn’t support applying attributes to multiple elements at once. If this limitation is an issue, you might consider using JavaScript in a nanoflow to dynamically set attributes, creating a custom widget, or leveraging CSS with ARIA attributes where applicable. If you have a specific use case, feel free to share, and we can explore the best approach!

Let me know if you have any issues,

Hope it helps!!

answered