Tab navigation skips non-visible entities (#24769)