NEW YORK — Children’s author Daniel Handler canceled his commencement speech at Wesleyan University amid allegations of sexual harassment, the school said Thursday.

Instead, the May graduation speech will be given by Anita Hill, who drew attention in 1991 when she testified that then-Supreme Court nominee Clarence Thomas sexually harassed her while he was her boss. She is now a professor at Brandeis University and already was scheduled to receive an honorary degree at Wesleyan’s commencement.

Handler is best known for writing the million-selling ‘‘A Series of Unfortunate Events’’ novels under the name Lemony Snicket. In February, several women on a blog about sex harassment among writers said he had made sexual comments at professional conferences and public events.


Handler apologized in an online post, saying he never meant to insult his colleagues.