#3361 closed defect (bug) (fixed)
Avoid "Click here" links
Reported by: | afercia | Owned by: | obenland |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | General | Keywords: | |
Cc: |
Description
Links should be meaningful even when read out of context.
Assistive technologies and other software (e.g. spiders) extract links from pages for their own purposes. Screen readers for example can list all the links in a page. Blind users can jump through links and they shouldn't be forced to explore the context to have a clue what a link is.
When read out of context, a link text like "Click here" doesn't really make any sense.
See in the plugins repo, when following one of the rating links, for example:
https://wordpress.org/support/plugin/hello-dolly/reviews/?filter=1
In this case, I'd suggest to just remove the words "Click here to" and use "See all reviews" for the link text.
Change History (7)
#2
@
7 years ago
@Presskopp thanks. Well the second one adds some text to click here, at least. Sure, maybe it could be simplified to just 'Cancel reply.'
I've just spotted one more (minor) case in wp-trac.js
:
<a href="//meta.trac.wordpress.org/newticket" id="new-meta-ticket">Click here</a> to copy your summary and description over.
As far as I can tell, there are 2 strings like that, 1 in meta (your example), 1 in core:
https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php?marks=277#L277
and
https://core.trac.wordpress.org/browser/trunk/src/wp-includes/comment-template.php?marks=1823#L1823