Task #70277
closed
Improve UX of confirm dialog by adding tabindex and setting focus on the "default" button
Added by Frans Saris almost 9 years ago.
Updated almost 7 years ago.
Estimated time:
(Total: 0.00 h)
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.
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
Only issue with the modals is a missing class for the Cancel button. The buttons are already triggered by keypres.
- 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
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
- Status changed from Under Review to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF