The boards are on the street because there was a high tide the night before and water was in the streets.
In the back of St. Mark's Basillica are many low benches. These are put in the square for people to walk on when the square is flooded, which happens several times a year.