Skip to content
Snippets Groups Projects

Resolve "Dialogtitel sind nicht als Überschrift gekennzeichnet und nicht modal"

Merged Thomas Hackl requested to merge issue-4038 into main
1 file
+ 5
2
Compare changes
  • Side-by-side
  • Inline
@@ -386,8 +386,11 @@ Dialog.show = function(content, options = {}) {
@@ -386,8 +386,11 @@ Dialog.show = function(content, options = {}) {
.before(element);
.before(element);
}
}
$(this).parent().find('.ui-dialog-title').attr('title', options.title)
$(this).parent().find('.ui-dialog-title').attr({
.attr('role', 'heading').attr('aria-level', 2);
title: options.title,
 
role: 'heading',
 
'aria-level': 2
 
});
$(this).parents('.studip-dialog').attr('aria-modal', 'true');
$(this).parents('.studip-dialog').attr('aria-modal', 'true');
instance.open = true;
instance.open = true;
Loading