Actions
Task #95098
closedModals use semantically wrong declaration
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Dashboard
Target version:
-
Start date:
2021-09-03
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:
Description
I am aware of 4 wizards:
1. new content element wizard (page module)
2. translation wizard (page module)
3. new dashboard wizard
4. new form wizard
The severity of those modals and the primary buttons (if available) are declared as follows:
1. new content element wizard- modal: notice
- button: n/a
- modal: notice
- button: info
- modal: notice
- button: warning
- modal: info
- button: info
- modal: notice
- button: info
- modal: warning
- button: warning
The severities are described as follows:
- notice: non-actionable statement
- info: actionable statement
- warning: negative connotation, something will "go wrong"
- error: negative connotation, something "went already wrong"
This should be
a) fixed
b) somehow documented
Regarding a) IMHO the severity "info" would be the way to go since the modals require actions/ are actionable. As it can be seen in the new dashboard modal the severity is used for styling purposes:
This must never be the case. As we all know: form follows function (semantic) :).
That said, further adaptions to the styling of those severities could be made.
Files
Actions