Petrol and diesel cars to be phased out within 20 years?

I see the changes in the highway code now include rules about EV charging.

"Using an electric vehicle charge point

For the first time, the code includes guidance about using electric vehicle charging points.

When using one, people should:

park close to the charge point and avoid creating a trip hazard for people walking from trailing cables
display a warning sign if you can
return charging cables and connectors neatly to minimise the danger to other people and avoid creating an obstacle for other road users"

Reading between the lines does this mean EV owners will need to put up a triangular warning sign when plugged in to public chargers or charging their EV’s from the house with a charging cable laying over the pavement to avoid being sued by someone claiming they tripped over the unseen charging cable?