The doctrine of attractive nuisance is a doctrine in Texas law that protects children from certain hazards that they could be attracted to, even if the child is trespassing on the property. State law recognizes children might not understand these risks due to their age and lack of understanding, so it is up to property owners to minimize these potential dangers.
Swimming pools are a common attractive nuisance. If a property owner fails to adequately fence off a pool, resulting in a child suffering harm or possibly drowning, the landowner could be held liable.