Skip to content

[Fix] 0047066 UI: Standard filter – add aria-labelledby to region divs#11022

Open
fhelfer wants to merge 1 commit intoILIAS-eLearning:release_11from
fhelfer:ui/mantis/47066
Open

[Fix] 0047066 UI: Standard filter – add aria-labelledby to region divs#11022
fhelfer wants to merge 1 commit intoILIAS-eLearning:release_11from
fhelfer:ui/mantis/47066

Conversation

@fhelfer
Copy link
Contributor

@fhelfer fhelfer commented Jan 30, 2026

Error 6881 5 The “aria-labelledby” attribute must not be specified on any “div” element unless the element has a “role” value other than “caption”, “code”, “deletion”, “emphasis”, “generic”, “insertion”, “paragraph”, “presentation”, “strong”, “subscript”, or “superscript”.
https://mantis.ilias.de/view.php?id=47066

Regions (role="region") for active inputs and section inputs must
reference their label. Set aria-labelledby="opener_{ID_FILTER}"
(resp. opener_{ID_FILTER_ACTIVE}) so screen readers associate the
expandable sections with the filter opener button.

Problem

  • Accessibility: Die Bereiche mit role="region" (aktive Filter, Filter-Eingaben) hatten keine Zuordnung zum beschriftenden Element (Opener-Button).

Lösung

  • In tpl.standard_filter.ht

@fhelfer fhelfer added bugfix kitchen sink php Pull requests that update Php code labels Jan 30, 2026
@BettyFromHH BettyFromHH added the css/html Pull requests that propose changes to CSS/SCSS or HTML files. label Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix css/html Pull requests that propose changes to CSS/SCSS or HTML files. kitchen sink php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants