From 28a9529524da705aee4fc761939123e846a32bdb Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 11 Sep 2009 14:14:16 +0000 Subject: - Patch #526674 by Everett Zufelt, mgifford: made breadcrumbs more accessible for visually impaired people. --- includes/theme.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/theme.inc b/includes/theme.inc index 352706eff..c908088ff 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1509,7 +1509,12 @@ function theme_image($path, $alt = '', $title = '', $attributes = array(), $gets */ function theme_breadcrumb($breadcrumb) { if (!empty($breadcrumb)) { - return ''; + // Provide a navigational heading to give context for breadcrumb links to + // screen-reader users. Make the heading invisible with .element-invisible. + $output = '

' . t('You are here') . '

'; + + $output .= ''; + return $output; } } -- cgit v1.2.3