PHILADELPHIA—In his first solo appearance on the campaign trail Tuesday, President Barack Obama accused Republican nominee Donald Trump of adopting authoritarian Russian President Vladimir Putin as his “role model.”

Mr. Trump “is out there praising a guy, saying he’s a strong leader, because he invades smaller countries, jails his opponents, controls the press and drives his economy into a long recession,” Mr. Obama said, referring to Mr. Putin.

“I...