This issue has been created
There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-0697a124-3668-4548-93c8-dc1b82c4404f XWIKI-22202 Open

Underline inline links on the doc renaming page

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-2644b803-1a35-4cb2-a682-dcf299a7adbb Charpentier Lucas created this issue on 31/May/24 11:15
 
Summary: Underline inline links on the doc renaming page
Issue Type: cid:jira-generated-image-avatar-0697a124-3668-4548-93c8-dc1b82c4404f Bug
Affects Versions: 16.4.0
Assignee: Unassigned
Attachments: Screenshot from 2024-05-31 11-00-54.png
Components: Flamingo Skin
Created: 31/May/24 11:15
Labels: wcag
Priority: cid:jira-generated-image-static-major-75943fe6-41fa-4d24-b65a-a6d78cb71e2b Major
Reporter: Charpentier Lucas
Description:

Highlighted by automated WCAG tests.
Two links in the page rename form are not highlighted while inline (wiht the proper option). This causes some link-contrast violations being reported.

_thumb_42615.png

Example of automated report:

```
Validation in the test method [renamePageWithUsedClass]
Check for [org.xwiki.test.ui.po.RenamePage] at http://xwikiweb:8080/xwiki/bin/view/NestedRenamePageIT/renamePageWithUsedClass/?xpage=rename&step=1.
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="/xwiki/bin/view/NestedRenamePageIT/renamePageWithUsedClass/?viewer=children&displayHidden=true">3 child pages</a>
Selector: [dd:nth-child(4) > .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

HTML element:
<a href="/xwiki/bin/view/NestedRenamePageIT/renamePageWithUsedClass/?viewer=backlinks">0 incoming links</a>
Selector: [dd:nth-child(6) > .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-2644b803-1a35-4cb2-a682-dcf299a7adbb Charpentier Lucas on 31/May/24 11:17
 

Solution 1: underline all the links in this form, as if they were part of #xwikicontent.
Solution 2: Create a new rulesets for all forms. This might help with other errors on other forms. Need to check that there's actually errors in other forms for that smile.png