Feature #43425
closedUpdate colors of Markdown "Warning" and "Caution" alerts to be consistent with standards
0%
Description
The attached patch updates the colors of Markdown "Warning" and "Caution" alerts. It changes "Warning" to use orange and "Caution" to use yellow, so that their colors match the usual meaning of these terms and align with safety sign standards such as ISO 3864 and ANSI Z535.
Currently, the Markdown alert boxes in Redmine use yellow for "Warning" and red for "Caution." However, in general usage, "warning" indicates a higher level of risk than "caution." Using yellow for "Warning" and red for "Caution" therefore feels inverted and counterintuitive.
According to the international safety sign standard ISO 3864, the risk levels are defined in the order of "DANGER" (red), "WARNING" (orange), and "CAUTION" (yellow). This means that "WARNING" represents a higher risk than "CAUTION," and colors such as red or orange correspond to higher danger levels than yellow. The ANSI Z535 standard follows the same convention, defining "WARNING" as orange and "CAUTION" as yellow.
GitHub's Markdown alerts, on the other hand, use a yellowish-brown color for "Warning" and red for "Caution." Redmine's current color scheme appears to have been inspired by this design. GitLab, however, does the opposite: it uses red for "Warning" and a yellowish tone for "Caution," assigning the stronger color to the more serious term.
For Redmine, it would be clearer and more consistent with both international standards and common expectations if "Warning" used orange and "Caution" used yellow. This adjustment would align the color hierarchy with the actual levels of risk and make Markdown content easier to understand at a glance. Because Redmine is a general-purpose tool used across many industries, following widely recognized conventions and standards would help ensure a more intuitive experience for all users.
Current colors:
Updated colors:
Files
Related issues
Updated by Go MAEDA 1 day ago
- Blocks Defect #43420: Markdown alerts are missing styling in email notifications added
Updated by Go MAEDA 1 day ago
- Related to Feature #42603: Enable commonmark alert extension added
Updated by Marius BĂLTEANU 1 day ago
- Target version changed from Candidate for next minor release to 6.1.1
Updated by Go MAEDA about 20 hours ago
- Status changed from New to Resolved
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the patch in r24105.
Updated by Go MAEDA about 11 hours ago
- Status changed from Resolved to Closed
Backported the change to 6.1-stable in r24106.