Project

General

Profile

Actions

Task #95098

closed

Modals use semantically wrong declaration

Added by Björn Jacob about 3 years ago. Updated about 2 years ago.

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
2. translation wizard
  • modal: notice
  • button: info
3. new dashboard wizard
  • modal: notice
  • button: warning
4. new form wizard
  • modal: info
  • button: info
5. Show columns for page (introduced in v11)
  • modal: notice
  • button: info
7. install tool login
  • 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

form-framework.png (37.4 KB) form-framework.png Simon Schaufelberger, 2022-03-26 00:47
dashboard.png (25.8 KB) dashboard.png Simon Schaufelberger, 2022-03-26 00:50
show-columns-for-page.png (97.5 KB) show-columns-for-page.png Simon Schaufelberger, 2022-03-26 00:58
install-tool-login.png (13 KB) install-tool-login.png Simon Schaufelberger, 2022-03-26 00:58
after.png (25.6 KB) after.png Simon Schaufelberger, 2022-03-26 01:36

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Task #81238: Streamline severity and message of delete modalNew2017-05-17

Actions
Actions

Also available in: Atom PDF