There's a bug where fixed elements that are hidden with display: none, or nested within another element with display: none were still treated as focusable.
This adds an additional check to isDisplayNone to catch fixed & hidden elements, as well as tests.
Related to #329
There's a bug where fixed elements that are hidden with
display: none
, or nested within another element withdisplay: none
were still treated as focusable.This adds an additional check to
isDisplayNone
to catch fixed & hidden elements, as well as tests.