mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
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:
parent
ce465dd2dc
commit
cf6359c8a3
2
src/opnsense/www/js/bootstrap-dialog.js
vendored
2
src/opnsense/www/js/bootstrap-dialog.js
vendored
@ -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');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user