This issue has been created
There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-bfc9552b-7337-4cb8-aee5-7b56beb0d652 XWIKI-22203 Open

Admin preferences CKEditor documentation link is not underlined when inline-link-only option is selected

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-b4dfa815-41fe-4f3e-b036-f608f4090acb Charpentier Lucas created this issue on 31/May/24 11:38
 
Summary: Admin preferences CKEditor documentation link is not underlined when inline-link-only option is selected
Issue Type: cid:jira-generated-image-avatar-bfc9552b-7337-4cb8-aee5-7b56beb0d652 Bug
Affects Versions: 16.4.0
Assignee: Unassigned
Attachments: Screenshot from 2024-05-31 11-35-57.png
Components: Administration
Created: 31/May/24 11:38
Labels: wcag
Priority: cid:jira-generated-image-static-major-af1d5010-548e-457a-b0ba-4209cdac3641 Major
Reporter: Charpentier Lucas
Description:

This was initially highlighted in a WCAG automatic report.
_thumb_42616.png

Example of violation reported:

Validation in the test method [null]
Check for [org.xwiki.administration.test.po.AdministrationSectionPage] at http://xwikiweb:8080/xwiki/bin/admin/XWiki/XWikiPreferences?form_token=TCe6rZVm7XNI6xRlR8niGA&section=WYSIWYG.
Found [1] items

1: Links must be distinguishable without relying on color
Description: Ensure links are distinguished from surrounding text in a way that does not rely on color
Help URL: https://dequeuniversity.com/rules/axe/4.8/link-in-text-block?application=axeAPI
Help: Links must be distinguishable without relying on color
Impact: serious
Tags: cat.color, wcag2a, wcag141, TTv5, TT13.a, EN-301-549, EN-9.1.4.1

HTML element:
<a href="http://docs.ckeditor.com/#!/api/CKEDITOR.config">CKEditor documentation</a>
Selector: [.xHint > a]
Fix any of the following:
The link has insufficient color contrast of 1.41:1 with the surrounding text. (Minimum contrast is 3:1, link text: #2f70a7, surrounding text: #555555)
The link has no styling (such as underline) to distinguish it from the surrounding text

__________
Validation in the test method [null]
Check for [org.xwiki.administration.test.po.WYSIWYGEditorAdministrationSectionPage] at http://xwikiweb:8080/xwiki/bin/admin/XWiki/XWikiPreferences?form_token=TCe6rZVm7XNI6xRlR8niGA&section=WYSIWYG.
Found [1] items

1: Links must be distinguishable without relying on color
Description: Ensure links are distinguished from surrounding text in a way that does not rely on color
Help URL: https://dequeuniversity.com/rules/axe/4.8/link-in-text-block?application=axeAPI
Help: Links must be distinguishable without relying on color
Impact: serious
Tags: cat.color, wcag2a, wcag141, TTv5, TT13.a, EN-301-549, EN-9.1.4.1

HTML element:
<a href="http://docs.ckeditor.com/#!/api/CKEDITOR.config">CKEditor documentation</a>
Selector: [.xHint > a]
Fix any of the following:
The link has insufficient color contrast of 1.41:1 with the surrounding text. (Minimum contrast is 3:1, link text: #2f70a7, surrounding text: #555555)
The link has no styling (such as underline) to distinguish it from the surrounding text

 
 

1 comment

 
cid:jira-generated-image-avatar-b4dfa815-41fe-4f3e-b036-f608f4090acb Charpentier Lucas on 31/May/24 11:39
 

This is related to XWIKI-22202, but IMO this is a bit of a different context and the solutions wouldn't be the same.
Here it's one link on one specific page content.
IMO here it makes sense to use our `force-underline` class.