/src/main/java/org/htmlunit/html/HtmlPage.java
final boolean disabled = element.getAttributes( ) ;
final boolean disabled = element.hasAttribute ( ATTRIBUTE_DISABLED ) ;
} 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)) { <extra_id_0> if (!disabled && !HtmlElement.TAB_INDEX_OUT_OF_BOUNDS.equals(element.getTabIndex())) { tabbableElements.add(element); } } } tabbableElements.sort(createTabOrderComparator());