Stage career
Shelley made her Broadway debut as Gwendolyn Pigeon in the original 1965 production of The Odd Couple (starring Art Carney and Walter Matthau). She reprised the role for the 1968 film version (with Jack Lemmon replacing Carney), and the first season of the subsequent television series (starring Tony Randall and Jack Klugman). She and Monica Evans, who co-starred as her sister Cecily Pigeon, were the only two performers to appear in the original play The Odd Couple and both the film and original television adaptation—and in the same roles.
In the 1970s, Shelley wanted to extend her range, feeling she was not using all her capabilities as an actor. She told The New York Times in a 1979 interview that she had "months of the most intensive deep-water swimming — more than I’d ever been called upon to do in my life" when she played Rosalind in As You Like It at the 1972 Stratford Festival in Ontario. She received her first Tony Award nomination in 1975 for her performance as "Jane" in Absurd Person Singular. Shelley won the 1979 Tony Award for Best Actress in a Play for her role as Mrs. Kendal in The Elephant Man, and was nominated for the Tony Award as Featured Actress in a Play in 1987 for her performance in Stepping Out as "Maxine". In 1982 she won an Obie Award for her performance Twelve Dreams. Shelley also began appearing in musicals in the late 1990s, with the revivals of Show Boat as Parthy and Cabaret as Fraulein Schneider in 1999.
In 2003, Shelley debuted the role of Madame Morrible in the original Broadway cast of Wicked, a role which she later reprised in the show's first national touring company in 2005, in the 2006 Chicago production, and in a return Broadway engagement in 2007.
Shelley played the role of Grandma in the Broadway production of Billy Elliot at the Imperial Theatre, beginning performances in October 2008. She was nominated for a Tony Award for Best Featured Actress in a Musical in 2009. In 2014, she succeeded Jane Carr as Miss Shingle in A Gentleman's Guide to Love and Murder, which would mark her final Broadway appearance.