File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
components/ILIAS/UI/resources/js/MainControls/dist Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -797,6 +797,7 @@ var persistence = function() {
797797 additional_engage : function ( ) {
798798 var element = this . getElement ( ) ,
799799 entry_id = dom_ref_to_element [ this . html_id ] ,
800+ triggerer_id = dom_references [ entry_id ] . triggerer ,
800801 isInView = il . UI . maincontrols . mainbar . model . isInView ( entry_id ) ,
801802 thrown = thrown_for [ entry_id ] ;
802803
@@ -806,6 +807,9 @@ var persistence = function() {
806807 if ( ! currentRole || currentRole === 'region' ) {
807808 element . attr ( 'role' , 'region' ) ;
808809 }
810+ if ( triggerer_id ) {
811+ element . attr ( 'aria-labelledby' , triggerer_id ) ;
812+ }
809813 if ( isInView && ! thrown ) {
810814 element . trigger ( 'in_view' ) ; //this is most important for async loading of slates,
811815 //it triggers the GlobalScreen-Service.
@@ -814,6 +818,7 @@ var persistence = function() {
814818 if ( ! isInView ) {
815819 thrown_for [ entry_id ] = false ;
816820 }
821+ actions . focusSubentry ( entry_id ) ;
817822 } ,
818823 additional_disengage : function ( ) {
819824 var entry_id = dom_ref_to_element [ this . html_id ] ;
You can’t perform that action at this time.
0 commit comments