Added aria-label to Search Results Pager block

This commit is contained in:
Kyle Huynh 2023-02-02 14:47:07 -05:00
parent d30c8eda8a
commit ec96982005
3 changed files with 21 additions and 2 deletions

View file

@ -4,6 +4,11 @@
* Handles Ajax submission / updating form action on url change, etc.
*/
(function ($, Drupal, drupalSettings) {
// Replace Results per page html h3 tag with strong tag
jQuery('h3:contains("Results per page")').replaceWith(function(){
return jQuery("<strong />", {html: jQuery(this).html()});
});
// Gets current parameters minus ones provided by the form.
function getParams(query_parameter, recurse_parameter) {