ARIA roles

0
Is there a way to set ARIA roles other than by using the Set Attribute or the HTML snippet widgets?  
asked
1 answers
1

HiMichel

Yes you can, with Set Attribute, Mendix 8.8 have some fixes on the aria labels, so hopefully you do not need any longer.

Though be care full set attribute will change the DOM, starting from Mendix 8 some widget are rewritten to React.

When conditional visibility is changed on the widget it might re-render and lose your change.  In that case make sure you set attribute hides and shows at the same time.

If that does not work you can try my (unsupported version) that should work with pluggable widgets. https://github.com/Andries-Smit/set-attribute/releases

Cheers, Andries

 

 

answered