diff --git a/typo3/sysext/core/Documentation/Changelog/8.7.x/Important-75591-PartialsHoneypothtmlHasChanged.rst b/typo3/sysext/core/Documentation/Changelog/8.7.x/Important-75591-PartialsHoneypothtmlHasChanged.rst new file mode 100644 index 0000000000000000000000000000000000000000..51321265a467aef39ca0b63c79a5c127c443810e --- /dev/null +++ b/typo3/sysext/core/Documentation/Changelog/8.7.x/Important-75591-PartialsHoneypothtmlHasChanged.rst @@ -0,0 +1,17 @@ +.. include:: ../../Includes.txt + +====================================================== +Important: #75591 - Partials/Honeypot.html has changed +====================================================== + +See :issue:`75591` + +Description +=========== + +The partial :file:`EXT:form/Resources/Private/Frontend/Partials/Honeypot.html` has been changed. The +honeypot field now passes the accessibility tests WCAG 2.0 by adding an aria-hidden attribute. +All installations with the overwritten partial :file:`EXT:form/Resources/Private/Frontend/Partials/Honeypot.html` +are affected and should be migrated. + +.. index:: Frontend, ext:form diff --git a/typo3/sysext/form/Resources/Private/Frontend/Partials/Honeypot.html b/typo3/sysext/form/Resources/Private/Frontend/Partials/Honeypot.html index 8272bbdfd9ba58335488469540801106bafa2d17..40927ed9aebbc39f111e58bd17ed20997f514c07 100644 --- a/typo3/sysext/form/Resources/Private/Frontend/Partials/Honeypot.html +++ b/typo3/sysext/form/Resources/Private/Frontend/Partials/Honeypot.html @@ -4,7 +4,7 @@ <f:form.hidden property="{element.identifier}" id="{element.uniqueIdentifier}" additionalAttributes="{autocomplete: 'off'}" /> </f:then> <f:else> - <f:form.textfield property="{element.identifier}" id="{element.uniqueIdentifier}" class="{element.properties.elementClassAttribute}" additionalAttributes="{autocomplete: 'off'}" tabindex="-1" style="{element.properties.styleAttribute}" /> + <f:form.textfield property="{element.identifier}" id="{element.uniqueIdentifier}" class="{element.properties.elementClassAttribute}" additionalAttributes="{autocomplete: 'off', aria-hidden: 'true'}" tabindex="-1" style="{element.properties.styleAttribute}" /> </f:else> </f:if> </html>