You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
focus delegate code seems wrongly only looking at children #8157
Let focusable area be child, if child is a focusable area; otherwise let focusable area be the result of getting the focusable area for child given focus trigger.
It only looks at children, but it seems to (in a note) think that "getting the focusable area" can end up recursing. Which is true, but afaict it only does if the child has delegateFocus, which seems wrong (see #8156).
So I think this should look at all descendants in tree order, which combined with the fix for #8156 would give you the behavior we generally want / expect.
Activity
sefeng211 commentedon Aug 4, 2022
So should we look for
shadow root with delegateFocusand alsonon shadow hosthere?emilio commentedon Aug 5, 2022
Where exactly? "Get a focusable area" already deals with delegatesFocus so I think we don't need to do it twice.
Yet more fixes to focus delegation
Yet more fixes to focus delegation