Skip to content

Show form field descriptions after the label and before the field itself #259

@erral

Description

@erral

Is your feature request related to a problem? Please describe.

After an accessibility review of a Plone Site (6.0.x, but it happens also in 6.1.x), we have seen that the ordering of the widgets in a form follows the following pattern:

  • label
  • required
  • field
  • description
  • errors

The accessibility review suggested that the description should go after the label and, in any case, before the field, because it usually contains a helpful description about how the user should fill the field.

Describe the solution you'd like

We were requested to change the rendering widgets to match the following pattern:

  • label
  • required
  • description
  • field
  • errors

Additional context

The change is related to accessibility, specially for users using screen readers.

The change goes in templates/widget.pt

cc: @rber474 @UnaiEtxaburu

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions