There are several picturesque beaches within an hour from Cardiff, but if you're willing to go farther, the Gower Peninsula ... and has been voted the most dog-friendly beach in Britain.
Some results have been hidden because they may be inaccessible to you