If Keira Knightley could cast a spell, it would likely be one for a little more kindness.

The British Oscar-nominated actress, who recently joined the voiceover cast of an upcoming "Harry Potter" audiobook series, addressed fan criticism of author J.K. Rowling in an interview with Decider published Friday, Oct. 10.

Rowling, whose best-selling young adult series and accompanying movie franchise sparked a pop culture phenomenon in the 2000s, has drawn backlash in recent years for her outspoken views against the transgender community.

When asked by Decider if she knew about a fan "boycott" of Rowling's work, Knightley, 40, said she was "not aware of that."

"I'm very sorry," said Knightley, who was joined by her "Woman in Cabin 10" director Simon Stone. "You know, I think we're all living in a period of time right now where we're all going to have to figure out how to live together, aren't we? And we've all got very different opinions. I hope that we can all find respect."

GLAAD, a global LGBTQ+ advocacy and non-profit organization, has identified Rowling as among the most prominent anti-trans voices in entertainment, chronicling both her financial involvement in a case at the U.K. Supreme Court that removed legal protections for trans women, as well as her history of critical online rhetoric.

Stone also weighed in on the controversial author: "We all have hatred, deep hatred for someone in the universe — someone in the class. Let's reduce it to classroom politics."

"Unfortunately, all sides of the political spectrum are currently trying to shut that kid's voice down, but they don't realize the irony of the fact that they're also that kid for someone else," Stone added. "If we can all have a moratorium on that, and just let chaos live for a little bit, we might find our way out."

Knightley is set to voice the role of Hogwarts professor and "Harry Potter" villain Dolores Umbridge in "Harry Potter: The Full Cast Audio Editions," an Audible collection that retells the iconic seven-book series with "stunning scoring, captivating performances from A-list actors, original music and real-world sound capture."

Other top actors joining Potter's wizarding world for the series include "Good Wife" star Cush Jumbo, Emmy-nominated actor Hugh Laurie, "Succession" alum Matthew Macfadyen, "Sound of Metal" star Riz Ahmed and "Doctor Who" actress Michelle Gomez, per Audible.

The new audiobooks come as the "Harry Potter" franchise is gearing up for a revival with a multi-season television series from HBO, slated for a 2027 release. Rowling will serve as an executive producer for the show, according to Warner Bros. Discovery.

The first book from "Harry Potter: The Full Cast Audio Editions," Rowling's debut novel "Harry Potter and the Sorcerer's Stone," will be released on Nov. 4. All the audiobooks are currently available for pre-order on the official Audible website.

Contributing: Anna Kaufman, Greta Cross and Brendan Morrow, USA TODAY

This article originally appeared on USA TODAY: Keira Knightley on J.K. Rowling controversy after joining 'Harry Potter' audiobook series

Reporting by Edward Segarra, USA TODAY / USA TODAY

USA TODAY Network via Reuters Connect