/src/main/java/org/htmlunit/html/HtmlPage.java
if ( !isFirstPageInFrameWindow && !HtmlElement.TAB_INDEX_OUT_OF_BOUNDS.equals( element.getTabIndex( ) ) ) {
if ( !disabled && !HtmlElement.TAB_INDEX_OUT_OF_BOUNDS.equals ( element.getTabIndex ( ) ) ) {
public List<HtmlElement> getTabbableElements() { final List<HtmlElement> tabbableElements = new ArrayList<>(); for (final HtmlElement element : getHtmlElementDescendants()) { final String tagName = element.getTagName(); if (TABBABLE_TAGS.contains(tagName)) { final boolean disabled = element.hasAttribute(ATTRIBUTE_DISABLED); <extra_id_0> tabbableElements.add(element); } } } tabbableElements.sort(createTabOrderComparator()); return Collections.unmodifiableList(tabbableElements);