Commit 534c89f2 authored by Dries's avatar Dries
Browse files

- Patch #321023 by Everett Zufelt, mgifford: improve accesibility in pager.inc.

parent 66b7e4f9
......@@ -308,7 +308,7 @@ function theme_pager($variables) {
'data' => $li_last,
);
}
return theme('item_list', array('items' => $items, 'title' => NULL, 'type' => 'ul', 'attributes' => array('class' => array('pager'))));
return '<h2 class="element-invisible">' . t('Pages') . '</h2>' . theme('item_list', array('items' => $items, 'title' => NULL, 'type' => 'ul', 'attributes' => array('class' => array('pager'))));
}
}
......
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