Mopping stairs without dirtying walls

Stairs and railings

Question

Mopping stairs without dirtying walls

Mopping the stairs without dirtying the wall - should a skirting strip be made along the stairs against the wall?