Skip to content

Commit 2f10bc0

Browse files
committed
Make Autocomplete plugin navigatable (Fixes #174)
1 parent 4aa6e66 commit 2f10bc0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

plugins/autocomplete.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ codeInput.plugins.Autocomplete = class extends codeInput.Plugin {
3232
codeInput.appendChild(popupElem);
3333

3434
let testPosPre = document.createElement("pre");
35-
popupElem.setAttribute("inert", true); // Invisible to keyboard navigation
36-
popupElem.setAttribute("tabindex", -1); // Invisible to keyboard navigation
3735
testPosPre.setAttribute("aria-hidden", true); // Hide for screen readers
3836
if(codeInput.template.preElementStyled) {
3937
testPosPre.classList.add("code-input_autocomplete_testpos");

0 commit comments

Comments
 (0)