From 290f3d63c5d9c1d1a905164836864c8e29e86bf1 Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Thu, 27 Jun 2024 09:11:54 +0200 Subject: [PATCH] Do not link "here" but use a descriptive link text Summary: See https://www.w3.org/TR/WCAG20-TECHS/F84.html and https://www.w3.org/QA/Tips/noClickHere Test Plan: Click click click. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25702 --- .../interpreter/PhabricatorRemarkupCowsayBlockInterpreter.php | 2 +- .../interpreter/PhabricatorRemarkupFigletBlockInterpreter.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/infrastructure/markup/interpreter/PhabricatorRemarkupCowsayBlockInterpreter.php b/src/infrastructure/markup/interpreter/PhabricatorRemarkupCowsayBlockInterpreter.php index 0f4b9818da..c537ded05b 100644 --- a/src/infrastructure/markup/interpreter/PhabricatorRemarkupCowsayBlockInterpreter.php +++ b/src/infrastructure/markup/interpreter/PhabricatorRemarkupCowsayBlockInterpreter.php @@ -86,7 +86,7 @@ which generates: cowsay{{{Why don't they play poker in the jungle? Too many cheetahs}}} -More information about Cowsay can be found [[/reference/cowsay/ | here]] +[[/reference/cowsay/ | More information about Cowsay]] is available. EOT; } diff --git a/src/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php b/src/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php index 87ac14d1fc..d959b3cc42 100644 --- a/src/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php +++ b/src/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php @@ -81,7 +81,7 @@ For example, this: figlet{{{Some big text!}}} -More information about Figlet can be found [[/reference/figlet/ | here]] +[[/reference/figlet/ | More information about Figlet]] is available. EOT; } } -- 2.51.2