Open risers are prohibited on stairs that are more than 30" above grade. The code requires that the openings be closed so that the opening is no taller than 4", which will prevent small children from falling through the stairway. Also note the triangular openings formed by the guard and stair do not comply.