protected void renderARIAInvalid ( FacesContext context , UIInput component ) throws IOException { if ( ! component . isValid ( ) ) { ResponseWriter writer = context . getResponseWriter ( ) ; writer . writeAttribute ( HTML . ARIA_INVALID , "true" , null ) ; } }
Adds aria - invalid if the component is invalid .