A new Idaho bill would open schools and public libraries to lawsuits for allowing minors to obtain books, films and other media that depict sexual content deemed “offensive.”

The legislation, from Rep. Jaron Crane, R-Nampa, would allow parents to sue schools and libraries if employees gave their child “harmful” material or if the institution failed to take “reasonable steps to restrict access” to “harmful” materials for minors.