<audio> providing multiple alternate media resources using <source src= broken in validator

see attached file,

according to the specs** and current usage the code in the attached reduced testcase is the appropriate way to enable a variety of browsers using different sound formats.

however this trestcase raises errors with the current validator.


Jonathan Chetwynd


+44 (0) 20 7978 1764


<audio controls="controls">
  <source src="song.ogg" type="audio/ogg" />
  <source src="song.mp3" type="audio/mpeg" />
Your browser does not support the audio element.


** "The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own."

please copy me into replies

Received on Sunday, 18 September 2011 17:39:03 UTC