Task #70277
closedImprove UX of confirm dialog by adding tabindex and setting focus on the "default" button
100%
Description
To improve the UX of the confirm dialog (for instance the "Delete this record?") a tabindex should be added to the buttons. The "cancel" button should be focused by default and hitting the return key should execute the selected action/button.
Updated by Frans Saris about 9 years ago
The focus is already set for the normal Modal.confirm()
calls and can be set for custom modals by adding active: true
to one of the button configurations
Updated by Frans Saris about 9 years ago
Only issue with the modals is a missing class for the Cancel button. The buttons are already triggered by keypres.
Updated by Gerrit Code Review about 9 years ago
- Status changed from New 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 http://review.typo3.org/44045
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/44045
Updated by Frans Saris about 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset 269258055ff017fe9d0b7aa6603494699505bf73.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed