If both parents are deceased, the courts may decide to award the custody of the child to the grandparents since a blood relative is often preferred to obtain custody. Even in this situation however, the grandparent has to present key evidence to the court that the child would be better off if they had custody of the child compared to other blood relatives or third parties.
The courts can make their decision taking into account the age, health and financial ability of the grandparent to properly support and care for the child, and the gold standard is what is in the best interest of the child.
If you are in a situation where you think it may be in the best interest of your grandchild if you obtained custody please consult the resources of The Custody Center. There you will learn what steps to take to match the legal standards under which custody can be granted.
NEIL