Description
It should be easy to distinguish inline links from the regular text next to them, even without extra accessibility features turned ON.
Not all users know of extra accessibility features.
Turning extra accessibility features ON underlines all links, which makes them easy to spot (whether inline or on their own).
Example of an accessibility report highlighting this issue:
WCAG warnings in the test class [org.xwiki.administration.test.ui.AllITs]:
__________
Validation in the test method [createPagesFromTemplate]
Check for [org.xwiki.test.ui.po.DocumentDoesNotExistPage] at http://xwikiweb:8080/xwiki/bin/view/NestedPageTemplatesIT/createPagesFromTemplate/TestTemplateUnexistingInstance?spaceRedirect=false.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.6/link-in-text-block?application=axeAPI
Help: Links must be distinguishable without relying on color
Impact: serious
Tags: cat.color, wcag2a, wcag141HTML element:
<a href="/xwiki/bin/create/NestedPageTemplatesIT/createPagesFromTemplate/TestTemplateUnexistingInstance">edit this page</a>
Selector: [.panel-body > a]
Fix any of the following:
The link has insufficient color contrast of 2.4:1 with the surrounding text. (Minimum contrast is 3:1, link text: #2f70a7, surrounding text: #333333)
The link has no styling (such as underline) to distinguish it from the surrounding text
Attachments
Issue Links
- relates to
-
XWIKI-21440 Inline links in muted-text can not rely on color
- Closed