From 47f8ae22eb710908c477b0e1358649bb679cc9f3 Mon Sep 17 00:00:00 2001 From: Esha Noronha <82437098+eshanrnh@users.noreply.github.com> Date: Thu, 28 Aug 2025 09:00:42 +0200 Subject: [PATCH] Update LinkTextClarity.yml Changed tokens to raw --- .github/styles/UmbracoDocs/LinkTextClarity.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/styles/UmbracoDocs/LinkTextClarity.yml b/.github/styles/UmbracoDocs/LinkTextClarity.yml index dbcec914e4b..aa0c416112c 100644 --- a/.github/styles/UmbracoDocs/LinkTextClarity.yml +++ b/.github/styles/UmbracoDocs/LinkTextClarity.yml @@ -2,10 +2,8 @@ extends: existence message: "Avoid generic link text like '%s'. Use descriptive link text instead." description: > - Descriptive link text improves accessibility and SEO. + Descriptive link text improves accessibility and SEO by clearly indicating + where the link leads, rather than using vague terms. level: warning -tokens: - - 'click here' - - 'read more' - - 'more info' - - '\bhere\b' +raw: + - '(?i)\[(?:click here|here)\]\([^)]*\)'