From 78dec8ed21f56dc6237e28ba46210d880bca0add Mon Sep 17 00:00:00 2001 From: funkonaut Date: Mon, 29 Aug 2022 18:00:31 -0500 Subject: [PATCH] Fix tables for screen readers Avoid announcing every row number which is part of the navigation for proper tables (read spread sheet). This is a stop gap solution as tables should not be used for layout at all. But this at least make things better for screen reader users until this is switched to proper CSS based layout. --- scripts/boxesserver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/boxesserver b/scripts/boxesserver index 2e5ca44..6f69be0 100755 --- a/scripts/boxesserver +++ b/scripts/boxesserver @@ -246,7 +246,7 @@ class BServer: if len(group._group_actions) == 1 and isinstance(group._group_actions[0], argparse._HelpAction): continue prefix = getattr(group, "prefix", None) - result.append('''

%s

\n\n''' % (groupid, groupid, _(group.title), groupid)) + result.append('''

%s

\n
\n''' % (groupid, groupid, _(group.title), groupid)) for a in group._group_actions: if a.dest in ("input", "output"): continue