Skip to content

Commit

Permalink
Complain about click here links
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Oct 30, 2024
1 parent 6287121 commit f3cf9df
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/actions/spelling/line_forbidden.patterns
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@
# - if you encounter such a case, add a pattern for that case to patterns.txt.
\b[Cc]an not\b

# Do not use `(click) here` links
# For more information, see:
# * https://www.w3.org/QA/Tips/noClickHere
# * https://webaim.org/techniques/hypertext/link_text
# * https://granicus.com/blog/why-click-here-links-are-bad/
# * https://heyoka.medium.com/dont-use-click-here-f32f445d1021
(?i)(?:>|\[)(?:(?:click |)here|(?:read |)more)(?:</|\]\()

# Should be `equals` to `is equal to`
\bequals to\b

Expand Down

0 comments on commit f3cf9df

Please sign in to comment.