Revert "Remove inputs in dropdowns from taborder"
This reverts commit 7dc453bb39
.
This commit is contained in:
parent
b7ee0b6ad2
commit
f99cf911e8
|
@ -39,7 +39,6 @@ function updateMenuItem(dropdown, item) {
|
||||||
item.setAttribute('role', dropdown[ariaPatchKey].listItemRole);
|
item.setAttribute('role', dropdown[ariaPatchKey].listItemRole);
|
||||||
item.setAttribute('tabindex', '-1');
|
item.setAttribute('tabindex', '-1');
|
||||||
for (const a of item.querySelectorAll('a')) a.setAttribute('tabindex', '-1');
|
for (const a of item.querySelectorAll('a')) a.setAttribute('tabindex', '-1');
|
||||||
for (const input of item.querySelectorAll('input')) input.setAttribute('tabindex', '-1');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// make the label item and its "delete icon" has correct aria attributes
|
// make the label item and its "delete icon" has correct aria attributes
|
||||||
|
|
Loading…
Reference in a new issue