The last thing active-duty service members need to be concerned about is how they’re going to pay for an attorney if they’re fighting for custody of a child, or their home is foreclosed.

Congress is now following a path set in recent years by law schools, law firms and the American Bar Association, which have recognized the growing imperative to provide military men and women with free legal aid when needed.