contrib - bootstrap-dialog.js : remove aria-hidden="true" for screen readers. for https://github.com/opnsense/core/issues/7590

Since https://github.com/nakupanda/bootstrap3-dialog has been stale for many years, it doesn't make sense to fork and update in a separate repo on our end.
This commit is contained in:
Ad Schellevis 2024-07-03 09:18:08 +02:00
parent ce465dd2dc
commit cf6359c8a3

View File

@ -389,7 +389,7 @@
return this;
},
createModal: function () {
var $modal = $('<div class="modal" role="dialog" aria-hidden="true"></div>');
var $modal = $('<div class="modal" role="dialog"></div>');
$modal.prop('id', this.getId());
$modal.attr('aria-labelledby', this.getId() + '_title');