Sex offender accused of attempted abduction