From 942da7150ff9c0007050c8af3834fbf5e3aabaf2 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Fri, 11 Mar 2022 21:52:45 +0100 Subject: [PATCH] [GENERIC viewer] Try to improve a11y, for search results, in the findbar (issue 14525) *Please note:* I don't really know anything about a11y, hence it's possible that this patch either doesn't work correctly or at least isn't a complete solution. Based on skimming through the two MDN articles linked below, it seems that tagging the `findMsg` and `findResultsCount` spans accordingly could be a solution to notify a11y software about search results. - https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/status_role - https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_status_role --- web/viewer.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/viewer.html b/web/viewer.html index ca6db0e59c61d2..9af0e641e4ba10 100644 --- a/web/viewer.html +++ b/web/viewer.html @@ -116,7 +116,7 @@