/src/main/java/org/htmlunit/html/HtmlForm.java
if ( !SUBMITTABLE_ELEMENT_NAMES.contains ( tagName ) ) { return false; }
} } return submittableElements; } private static boolean isValidForSubmission(final HtmlElement element, final SubmittableElement submitElement) { final String tagName = element.getTagName(); <extra_id_0> if (element.hasAttribute(ATTRIBUTE_DISABLED)) { return false; } if (element == submitElement && element instanceof HtmlImageInput) { return true; }