These macros are currently distinguished only by their background and text colors (Loading...). This is an accessibility bug. See:
- Designing for Web Accessibility – Tips for Getting Started | Web Accessibility Initiative (WAI) | W3C
- G14: Ensuring that information conveyed by color differences is also available in text | WAI | W3C
I suggest adopting one of the following measures to fix this:
- Add an icon with an alternative text and a title attribute.
- Add a text that comes before the macro content, in bold for instance. “Warning:”, “Information:”, something like this.
- Both.
Feel free to suggest icons to use, or other measures we could implement.
See also the issue that started this discussion: Refactor note, tip, info, success, warning, error macros · Issue #97 · xwikisas/xwiki-pro-macros · GitHub
See also the (kind of) related issue of the title not being separated from the rest of the content, as it could interact with what is decided for this present issue: Loading...