mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 23:05:39 +03:00
Revert "Remove inputs in dropdowns from taborder"
This reverts commit 7dc453bb39
.
This commit is contained in:
parent
b7ee0b6ad2
commit
f99cf911e8
1 changed files with 0 additions and 1 deletions
|
@ -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