Review main Merged

70884[FEATURE] Introduce Bootstrap 5 compatible and accessible templates

rgropp CR +2 V +2 Expert +1180 −6 updated 10/01/21, 13:33

Commit message

The form framework now provides Bootstrap 5 compatible templates.
The markup has been completely reworked, unnecessary nesting layers
have been removed and semantically more meaningful HTML tags are used.
The templates were also improved in the area of accessibility.

In the course of Bootstrap 5 compatibility two new breakpoints "xl" and
"xxl" were added to the grid configuration.

All hardcoded CSS classes in the templates have been moved to the
configuration. This simplifies the integration of the frontend. The
change makes it easier for integrators to make upgrades of the
frontend framework. In most cases, it is now no longer necessary to
override a template for changes to classes. Instead, it is only
necessary to add the appropriate CSS classes to the form
configuration.

In order not to be breaking, by default the templates are still rendered
as they used to be.

To use the new Bootstrap 5 compatible templates the form rendering option
`templateVariant` must be set from `version1` to `version2`
in your form setup.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 3

Files 62

Show 42 more files