OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/public/javascripts/accessibility.js

9 lines
241 B

$(document).observe('dom:loaded', function() {
// If there is a flash message, give focus
// necessary for screen readers
var flash_focus = $$('div.flash a').first();
if (flash_focus != undefined) {
flash_focus.focus();
}
});