is it possible to add an 'Accessibility button' in Plumsail for people who are visually impaired?
Some people are colour blind and have issues seeing text. Is there a way to add a button that will change the colours and text sizing so it's the forms can accommodate this group of people?
Dear @Qman,
First, add a class to the fields that you want to change, for example: my-field
If we are talking about text fields (such as Title, for example), the following code should work, add it inside of button's Click property: $('.my-field input').attr('style', 'height: 100px; font-size: 50px; background: darkblue; color: yellow;');
I noticed one issue. The multiline text field hides the Add attachment by default. When I activate my accessibility button, it appears out of nowhere. Is there no way to hide it by JS so it never appears.
Is it also possible to apply the same effect to Choice & Lookup fields for added consistency?
Dear @Qman,
I am looking at the options, but it's definitely not as easy. For example, Lookup templates can be customized, but only when the form loads, so you'll likely need at least two fields, to switch between by hiding/showing fields, and then copying data to the main field. Here's how the Lookup field can be customized - Customize appearance for lookup fields in a SharePoint form — SharePoint forms
For Multiline text, it is rather easy to do with plain text, like this: $('.my-plain-text .fd-textarea').attr('style', 'height: 100px; font-size: 50px; background: darkblue; color: yellow;');
But not that easy for Rich Text, looking at the options right now.