From c3ef96b8b03f9a00a872ebe2bdc6af872848f1a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Fri, 14 Sep 2007 09:37:29 +0000 Subject: #174993 by peterx, webchick and Freso@freso.dk: WAI AA comformant title for read more links, ie. we are not repeating the same text but include meaningful information --- modules/node/node.module | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/node') diff --git a/modules/node/node.module b/modules/node/node.module index bcd5b3e40..6bf314e06 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1246,7 +1246,9 @@ function node_link($type, $node = NULL, $teaser = FALSE) { $links['node_read_more'] = array( 'title' => t('Read more'), 'href' => "node/$node->nid", - 'attributes' => array('title' => t('Read the rest of this posting.')) + // The title attribute gets escaped when the links are processed, so + // there is no need to escape here. + 'attributes' => array('title' => t('Read the rest of !title.', array('!title' => $node->title))) ); } } -- cgit v1.2.3