Making WordPress.org

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#3361 closed defect (bug) (fixed)

Avoid "Click here" links

Reported by: afercia's profile afercia Owned by: obenland's profile 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

https://cldup.com/kQo3QB7AjX.png

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 @afercia
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.

#3 @afercia
7 years ago

  • Component changed from Plugin Directory to General

One more example, in the Trac form. I understand this should be reported with the "Trac" component... but maybe at this point this ticket should be filed under the "General" component.

https://cldup.com/haaQ1dTjFf.png

#4 @obenland
7 years ago

In 6443:

Trac: More context for link text.

Props afercia.
See #3361.

#5 @obenland
7 years ago

In 6444:

Trac: More context for link text.

Props afercia.
See #3361.

#6 @obenland
7 years ago

  • Owner set to obenland
  • Resolution set to fixed
  • Status changed from new to closed

In 6445:

Forums: Better context for link text.

Props afercia, Presskopp.
Fixes #3361.

#7 @obenland
7 years ago

In 6446:

Trac: Bump cache

See #3361.

Note: See TracTickets for help on using tickets.