Make EPiServer Forms Input-fields more accessible by adding optional autofill/autocomplete support


We are currently doing major accessibility work on our customers sites and Forms is kind of bad in this aspect, since the name and id attributes can't have the values like name, given-name or cc-given-name etc.

The reason why Forms is bad in this aspect is obvious, the generic functionality etc.

There is solutions though, using the extended syntax of autocomplete-attribute.
We can override views and extend original elements, of course, but then it's harder to update Forms when you do updates.

My suggestion would be adding "native support" in Forms by adding editor support of optional selection of autocomplete/autofill values with a select/dropdown for all Form Elements that renders input-tags, a grouped select with the attribute values mentioned here:

More info here:

Then you could render:

<input autocomplete="name" name="__field_1285" id="92e4ac48-ec56-4b0a-a5eb-fa9fc94005af" type="text" class="FormTextbox__Input" placeholder="" value="" data-f-datainput="">

If the editor selected name in the grouped select box.

Edited, Apr 21, 2021 13:03

It's actually a very "simple" fix for you that would make it possible to put EPiServer Forms on drugs for customers, when using this on the fields where appropriate...

Apr 21, 2021 13:16
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.