Skip to content

Commit 1f32056

Browse files
authored
Merge pull request #7350 from umbraco/eshanrnh-patch-2
Update LinkTextClarity.yml
2 parents 560c0b5 + 47f8ae2 commit 1f32056

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)