A fenced-in backyard in Georgia, ca. 1899, via Library of Congress Prints and Photographs Division.
These photos were included in one of several albums depicting African American life, which were compiled by W. E. B. Du Bois for the 1900 Paris Exposition.
There’s a brief history of the American backyard here. Until the 20th century, it was a space for work, not recreation.