Skip to content
Snippets Groups Projects
Commit 3dca0573 authored by utkarsh_33's avatar utkarsh_33 Committed by Chris Wells
Browse files

Issue #3489972 by utkarsh_33, chrisfromredfin, narendrar: Accessibility of...

Issue #3489972 by utkarsh_33, chrisfromredfin, narendrar: Accessibility of detail modal: focus the modal window on open
parent 84df9984
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -63,4 +63,8 @@ export const openPopup = (getMessage, project) => {
}
});
popupModal.showModal();
const modalElement = document.querySelector('.project-browser-detail-modal');
if (modalElement) {
modalElement.focus();
}
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment