Skip to content
Snippets Groups Projects
Commit 303896b9 authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Daniel Goerz
Browse files

[BUGFIX] Use type "button" for accessible paste content buttons

The paste content buttons now have the type "button" set
to not falsely behave as submit buttons, which is the default
if no type is defined.

See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type

Note: In this case the regular submit event is prevented by
JavaScript which leads to no actual functional change here.

Resolves: #92668
Relates: #92653
Releases: master, 10.4
Change-Id: I22f80778eab02b9c9ada9177ae5f72cfca2f55ff
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66248


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarDaniel Haupt <mail@danielhaupt.de>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarDaniel Haupt <mail@danielhaupt.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
parent b086acd9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment