More visible current page marker

main
Bob Mottram 2022-05-29 10:31:41 +01:00
parent 9c4614910b
commit 0cb08dfaf3
1 changed files with 3 additions and 3 deletions

View File

@ -439,12 +439,12 @@ def _page_number_buttons(users_path: str, box_name: str,
num_str = ''
for page in range(min_page_number, max_page_number):
if num_str:
num_str += html_hide_from_screen_reader(' ')
num_str += html_hide_from_screen_reader('')
aria_page_str = ''
page_str = str(page)
page_str = ' ' + str(page) + ' '
curr_page_str = ''
if page == page_number:
page_str = '<mark><u>' + str(page) + '</u></mark>'
page_str = '[<mark>' + str(page) + '</mark>]'
aria_page_str = ' aria-current="true"'
curr_page_str = 'Current Page, '
num_str += \