diff --git a/web_src/js/features/contextpopup.js b/web_src/js/features/contextpopup.js index 5c5733b35ab..23a620b8a23 100644 --- a/web_src/js/features/contextpopup.js +++ b/web_src/js/features/contextpopup.js @@ -34,6 +34,7 @@ export function attachRefIssueContextPopup(refIssues) { content: el, placement: 'top-start', interactive: true, + role: 'dialog', interactiveBorder: 5, onShow: () => { el.firstChild.dispatchEvent(new CustomEvent('ce-load-context-popup', {detail: {owner, repo, index}})); diff --git a/web_src/js/features/repo-commit.js b/web_src/js/features/repo-commit.js index d22aa8e980b..7e4e40806b6 100644 --- a/web_src/js/features/repo-commit.js +++ b/web_src/js/features/repo-commit.js @@ -65,6 +65,7 @@ export function initCommitStatuses() { content: this.nextElementSibling, placement: top ? 'top-start' : 'bottom-start', interactive: true, + role: 'dialog', }); }); }