Commit d22f1cbb authored by Dries's avatar Dries
Browse files

Issue #1070166 by mgifford: As a screen-reader user I need a way to recognize...

Issue #1070166 by mgifford: As a screen-reader user I need a way to recognize the purpose of the Next and Previous links in the Views mini pager.
parent 73afbb98
......@@ -1052,6 +1052,7 @@ function theme_views_mini_pager($vars) {
$li_previous = array(
'#theme' => 'pager_link__previous',
'#text' => (isset($tags[1]) ? $tags[1] : t('‹‹')),
'#attributes' => array('title' => t('Go to previous page')),
'#page_new' => pager_load_array($pager_page_array[$element] - 1, $element, $pager_page_array),
'#element' => $element,
'#interval' => 1,
......@@ -1064,6 +1065,7 @@ function theme_views_mini_pager($vars) {
$li_next = array(
'#theme' => 'pager_link__next',
'#text' => (isset($tags[3]) ? $tags[3] : t('››')),
'#attributes' => array('title' => t('Go to next page')),
'#page_new' => pager_load_array($pager_page_array[$element] + 1, $element, $pager_page_array),
'#element' => $element,
'#interval' => 1,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment