Opened 6 years ago

Closed 6 years ago

Last modified 6 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:


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:

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
6 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="//" id="new-meta-ticket">Click here</a> to copy your summary and description over.

#3 @afercia
6 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.

#4 @obenland
6 years ago

In 6443:

Trac: More context for link text.

Props afercia.
See #3361.

#5 @obenland
6 years ago

In 6444:

Trac: More context for link text.

Props afercia.
See #3361.

#6 @obenland
6 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
6 years ago

In 6446:

Trac: Bump cache

See #3361.

Note: See TracTickets for help on using tickets.