diff --git a/web_src/js/features/contextpopup.js b/web_src/js/features/contextpopup.js index 5c5733b35..23a620b8a 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 d22aa8e98..7e4e40806 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', }); }); }