What Aaron Swartz did to himself was tragic, but he did decide to break the law. Something that is glossed over here.
So I wouldn't gloss over the specific law(s) he broke, so much as I would outright celebrate that he did so.
https://en.wikipedia.org/wiki/Guerilla_Open_Access_Manifesto