From 1108c1ffa4e5e03c013ac39e5118cbdc80f62884 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 22 Feb 2026 09:20:22 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Enhance=20Table=20Sor?= =?UTF-8?q?ting=20Accessibility?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Improved the accessibility and user experience of table column sorting in the shared list view. Changes: - Added `role="button"` and `tabindex="0"` to table sorting wrappers for keyboard accessibility. - Added descriptive `aria-label` to sorting triggers (e.g., 'Sortieren nach Name'). - Implemented keyboard event listeners ('Enter' and 'Space') to trigger sorting. - Added dynamic `aria-sort` attribute management on `th` elements to provide screen reader feedback on the current sorting state. - Added `aria-hidden="true"` to sort icons to avoid redundant screen reader announcements. These improvements ensure that the application's data tables are fully accessible to keyboard users and screen readers. Co-authored-by: Woschj <81321922+Woschj@users.noreply.github.com> --- app/templates/shared/list_base.html | 771 ++++++++++++++-------------- 1 file changed, 394 insertions(+), 377 deletions(-) diff --git a/app/templates/shared/list_base.html b/app/templates/shared/list_base.html index c89a7b4..6379bf7 100755 --- a/app/templates/shared/list_base.html +++ b/app/templates/shared/list_base.html @@ -1,382 +1,399 @@ -{% extends "base.html" %} - -{% block content %} -
{{ help_text }}
- {% endif %} - {% if help_items %} -{{ help_text }}
+ {% endif %} + {% if help_items %} +