While she finds herself in many strange situations and encounters many peculiar characters, she is never formally accused of any crime or wrongdoing. The story is about her journey through a surreal and nonsensical world, not about any legal proceedings.
It's possible you're thinking of a different story or a different interpretation of Alice in Wonderland.