MediaWiki:MonthlyConvert.js: Difference between revisions

Content deleted Content added
focus first button on opening mc-modal - https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/dialog_role
try setting focus on dialog instead
Tag: Reverted
Line 471:
 
$('.mc-modal-screen').show();
document.querySelector('.mc-buttonmodal').focus();
$('body').addClass('modal-open');
}