Revert "Remove inputs in dropdowns from taborder"

This reverts commit 7dc453bb39.
This commit is contained in:
Gergely Nagy 2024-03-23 14:35:59 +01:00
parent b7ee0b6ad2
commit f99cf911e8
No known key found for this signature in database

View file

@ -39,7 +39,6 @@ function updateMenuItem(dropdown, item) {
item.setAttribute('role', dropdown[ariaPatchKey].listItemRole);
item.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