When creating a mention, a grey block is added to the content, with the name of the user mentionned being a link in dark blue. The contrast inside the mention is not high enough, and it was reported in the wcag automated testing: ``` WCAG warnings in the test class [org.xwiki.mentions.test.ui.AllIT]: __________ Validation in the test method [documentBody] Check for [org.xwiki.test.ui.po.ViewPage] at http://xwikiweb:8080/xwiki/bin/view/NestedMentionsIT/documentBody/. Found [2] items 1: Elements must meet minimum color contrast ratio thresholds Description: Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds Help URL: https://dequeuniversity.com/rules/axe/4.8/color-contrast?application=axeAPI Help: Elements must meet minimum color contrast ratio thresholds Impact: serious Tags: cat.color, wcag2aa, wcag143, TTv5, TT13.c, EN-301-549, EN-9.1.4.3, ACT HTML element: <a class="xwiki-mention user" data-reference="xwiki:XWiki.U2" href="/xwiki/bin/view/XWiki/U2" id="test-mention-1">@U2</a> Selector: test-mention-1 Fix any of the following: Element has insufficient color contrast of 3.33 (foreground color: #2f70a7, background color: #cecece, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1 ``` |