While the wordpress blogging package does an admirable job publishing valid XHTML/CSS with good semantic code there is one feature which fails accessibility guidlelines.
This is the (more�) feature, which allows the bloggers to display the first part of a long post and then link to the whole post at the bottom with an automated link eg:
If the more feature is used several times in a page eg: on a blog homepage than most of the links on the page will have the link text (more�) which is not very accessible.
While wordpress does allow users to customize the more tag, all this does is replace (more�) with another few words which will be used repeatedly instead eg: (read more�)
The solution to make the link more accessible therefore has 2 parts:
- Follow the instructions in the first paragraph of customize the �more� tag to change (more�) to (read more�)
- Open template-functions-post.php from your blogs wp-includes folder.
- Replace the line (around line 128ish):
$output .= ' <a href="'. get_permalink() . "#more-$id">$more_link_text</a>";
With these 2 lines instead:
$title = get_the_title();
$output .= ' <a href="'.get_permalink(). "#more-$id">$more_link_text $title</a>";
- Upload the changed index.php and template-functions-post.php to the appropriate directories on your web server
So now when you use the more feature, wordpress will use the title of your post to automatically generate a much more accessible link than (more�) eg: read more about Make- WordPress More links accessible