Task #69974

Epic #77909: Enhance EXT:form

EXT:form - Optimize frontend templates

Added by Bjoern Jacob over 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2015-09-19
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The HTML code rendered by EXT:form should be more accessible:

  • Add HTML5 required attribute to input tags which have the validation rule 'required'
  • Add aria-required="true" attribute to input tags which have the validation rule 'required'
  • Add aria-invalid="true" to input tags which failed validation
  • Add role="alert" and aria-live="assertive" to error message containers

Related issues

Related to TYPO3 Core - Feature #55175: Accessibility and HTML5 for sysext 'form' Closed 2014-01-20
Related to TYPO3 Core - Feature #31094: Integrate client-side validation Closed 2011-10-19

Associated revisions

Revision 973ffb7a (diff)
Added by Andreas Steiger about 3 years ago

[TASK] EXT:form - Optimize frontend templates

  • add attribute role="alert" to error hints
  • streamline bootstrap 3 error classes
  • add attribute formnovalidate to previous button of multistep form
  • remove fieldset wrap from element type 'PAGE'

Resolves: #69974
Releases: master
Change-Id: I66336879bed0f94752482404c3ed7cfa7028046d
Reviewed-on: https://review.typo3.org/51426
Tested-by: TYPO3com <>
Reviewed-by: Bjoern Jacob <>
Tested-by: Bjoern Jacob <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Bjoern Jacob over 4 years ago

  • Subject changed from Form: Add special attributes for more accessibility to Form: Add special attributes for more accessibility and for validation purposes

#2 Updated by Bjoern Jacob over 4 years ago

  • Subject changed from Form: Add special attributes for more accessibility and for validation purposes to EXT:form - Add special attributes for more accessibility and for validation purposes

#3 Updated by Bjoern Jacob almost 4 years ago

  • Description updated (diff)
  • Priority changed from Should have to Could have

#4 Updated by Bjoern Jacob over 3 years ago

  • Parent task set to #77909

#5 Updated by Bjoern Jacob about 3 years ago

  • Description updated (diff)
  • Status changed from New to Accepted

The only interesting attribute is role. Nowadays, aria is not that important anymore, thanks to HTML5 and the required attribute.

#6 Updated by Bjoern Jacob about 3 years ago

  • Target version deleted (8 LTS)

#7 Updated by Bjoern Jacob about 3 years ago

  • Tracker changed from Feature to Task
  • Subject changed from EXT:form - Add special attributes for more accessibility and for validation purposes to EXT:form - Optimize frontend templates
  • Priority changed from Could have to Should have
  • TYPO3 Version set to 8

#8 Updated by Gerrit Code Review about 3 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51426

#9 Updated by Andreas Steiger about 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#10 Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF