Not analogous. Drinking alcohol is both illegal and a potential safety issue. What the girl did was neither.A child drinking alcohol doesn't intend for thier parents to see what they are doing either. But if the parents do see it then they saw it. The point being that it doesn't matter if it wasn't intended for thier eyes. They saw it.
I'm not so sure that would stand up in court, especially if it was off hours. Regardless, this too is a very different set of circumstances.It would be no different than some employee posting on FB claiming that thier boss is verbally abusive and the boss finding it and firing that employee. Even though that employee's FB claim wasn't meant for his/her boss's eyes. As has been said before, whatever is posted on the internet is no longer private.