Yes, it is probably legal.
Yes, it is probably legal. The state has probably given the libraries broad authority to make all sorts of rules. Their rules of behavior are here: .
That said, I've sued libraries for evicting me, and watched various courts just make up evidence, because they just know how dangerous bare feet are. Their favorite excuse: such a rule protects a library's financial integrity because a barefooted person might sue them. However, here in Ohio, libraries have statutory immunity from all but physical defects in their buildings and grounds, and furthermore patrons are considered, by law, to be licensees (not business invitees), which means that to successfully sue, mere negligence is not enough, but the library's conduct must be "wanton and willful". Yet, the judges ignore that.
You can see almost all the court filings on my website: .
In my latest case, still ongoing, the judge was forced by the appeals court to hold an evidentiary hearing, and I lost yet again. Part of his reason: "Pathogens can be deposited on carpeting and other flooring from cuts and lesions on body surfaces, such as feet. Once deposited on carpeting and other flooring, pathogens can enter other persons' bodies through cuts and lesions on persons' body surfaces, such as feet."