creifenscheid/powermail-setup

Extension to configure and set up EXT:powermail

Installs: 126

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:HTML

Type:typo3-cms-extension

v12.0.0 2024-04-18 06:27 UTC

This package is auto-updated.

Last update: 2024-12-18 07:43:17 UTC


README

Purpose

This extension is more or less an accessibility boost for EXT:powermail. Therefor the form templating is adjusted, additional supportive fields are added etc.

Features

  • Adds the following fields to EXT:powermail model:Field
    • autocomplete: selection of autocomplete possibilities for the corresponding fields
    • hideLabel: checkbox to hide the label, by keeping the possibility of addition css
  • Templating
    • improves accessibility in forms by
      • refactoring label rendering
      • adding description rendering
      • refactoring field rendering for
        • checkboxes
        • date inputs
        • regular inputs
        • passwords
        • radio buttons
        • reset buttons
        • submit buttons
        • textarea fields
  • backend cleanup
    • removing fields, that I personally don't use, with a specific tsconfig setting
  • Report barrier configuration
    • prefill for the following fields:
      • subject: rename powermail marker to "barrier_subject"
      • message: rename powermail marker to "barrier_message"

Known bugs

  • field: date | aria-describedby attribute gets removed after focussing out

Client side validation

At the moment EXT:powermail client side (javascript) validation is disabled. This has to be extended as followed:

  • adding an icon to the messages
  • adjust field labelling setup to read the error as well