From 4608178a74ecd41e5d242e040e2fbf62aa071625 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 29 May 2022 10:32:40 +0100 Subject: [PATCH] Hide brackets from screen reader --- webapp_timeline.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webapp_timeline.py b/webapp_timeline.py index 1e038a42d..d4701cc59 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -444,7 +444,10 @@ def _page_number_buttons(users_path: str, box_name: str, page_str = ' ' + str(page) + ' ' curr_page_str = '' if page == page_number: - page_str = '[' + str(page) + ']' + page_str = \ + html_hide_from_screen_reader('[') + \ + str(page) + \ + html_hide_from_screen_reader(']') aria_page_str = ' aria-current="true"' curr_page_str = 'Current Page, ' num_str += \