Skip to content

Commit 7e92fdb

Browse files
committed
fix: Asign entry_id to engage screen readers accessibility
1 parent b8ffc3c commit 7e92fdb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/ILIAS/UI/resources/js/MainControls/src/mainbar.renderer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@
9898
//https://www.w3.org/TR/wai-aria-practices-1.1/examples/accordion/accordion.html
9999
element.attr('role', 'region');
100100
element.attr('aria-labelledby', triggerer_id);
101+
actions.focusSubentry(entry_id);
102+
101103
if(isInView && !thrown) {
102104
element.trigger('in_view'); //this is most important for async loading of slates,
103105
//it triggers the GlobalScreen-Service.

0 commit comments

Comments
 (0)