Issue Feature Closed

#93963Form extension templates block additionalAttributes

Lennart Suwe 04/21/21, 13:41 updated 04/29/21, 09:00

Description

To be able to create Forms with a high accessibility standard, attributes like the following should be able to be used on input fields.

aria-describedby="error-text-id" aria-invalid="true”

Because these attributes don’t seem to be implemented by default, the only way to implement them is through the f:form.textfield ViewHelper with additionalAttributes. But that is not possible. additionalAttributes is already occupied by the following line and cant be appended:

additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"

With the current Setup it is not possible to build a accessible Form with modern standards.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.