Module to automatically prevent "click here" links?

Events happening in the community are now at Drupal community events on www.drupal.org.
charles belov's picture

Is there a module that would or could prevent content providers from creating links consisting solely of "click here" or "here" (for link accessibility) or even preventing those words from appearing in a link at all (for link conciseness)?

Comments

I think you could achieve

greggles's picture

I think you could achieve this with http://drupal.org/project/contentanalysis

If not...that could be a good framework to add it to.

I'd look into educating your

daniel.nitsche's picture

I'd look into educating your content providers rather than trying to block particular patterns of link text. "Click here", "here" and "more" are probably easy ones to check, but it's going to be very difficult to check the overall quality of link text automatically, especially when trying to meet WCAG 2.4.4, where the context of the link is relevant.

Having said that, I've got a few SimpleTests that I run before I launch a site to do some basic checks on content. You could use the same mechanism to test link text.

Accessibility

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: