consistent support of defaultPrevented for links and submit