The foremost consideration is almost always a suitable living space for the child. Social services might inspect a home to ensure it meets certain standards for public health, in addition to providing a positive and loving environment. Beyond that, the court will look at the custodian in question’s less tangible connections with the child, particularly in third-party cases, to ensure they are providing the best possible care. Work history, income, personal health and any official legal records will all be taken into account. The opinions of the children, or child, also might be taken into account.