Skip to content

Commit 47f8ae2

Browse files
authored
Update LinkTextClarity.yml
Changed tokens to raw
1 parent 8c87db3 commit 47f8ae2

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/styles/UmbracoDocs/LinkTextClarity.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
extends: existence
33
message: "Avoid generic link text like '%s'. Use descriptive link text instead."
44
description: >
5-
Descriptive link text improves accessibility and SEO.
5+
Descriptive link text improves accessibility and SEO by clearly indicating
6+
where the link leads, rather than using vague terms.
67
level: warning
7-
tokens:
8-
- 'click here'
9-
- 'read more'
10-
- 'more info'
11-
- '\bhere\b'
8+
raw:
9+
- '(?i)\[(?:click here|here)\]\([^)]*\)'

0 commit comments

Comments
 (0)