Form templates: Improve WCAG AA level compliance

Found in

EPiServer.Forms 4.3.0

Fixed in

EPiServer.Forms 4.22.0

Created

Jan 20 2017

Updated

Jan 03 2019

Area

Built-in elements

State

Closed, Acceptance tests pass


Description

This story makes forms more user-friendly and accessible, specifically level AA of WCAG compliance. It fixes the following problems.

Checkbox and radio buttons

  • You don't get a field set enclosing the elements.
  • The heading is a <span> instead of a <legend>.

Attributes

  • For usability and accessibility reasons, try to mark HTML5 attributes, such as the required attribute.
  • Ability to set types on input.