Problem with Accessibility of Audio Content with the audio Element1

Problem with Accessibility of Audio Content with the audio Element1
0.0 0

#1

Tell us what’s happening:
its telling me : “Make sure your audio element has a closing tag.” … i dont understand

Your code so far


<body>
  <header>
    <h1>Real Coding Ninjas</h1>
  </header>
  <main>
    <p>A sound clip of Zersiax's screen reader in action.</p>
<audio id="" controls>
  <source src ="https://s3.amazonaws.com/freecodecamp/screen-reader.mp3" type="audio/mpeg"/></audio>
 </main>
</body>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-accessibility/improve-accessibility-of-audio-content-with-the-audio-element/


#2

Try removing the id="" attribute from opening <audio> tag and then run the test cases.
Hope this helps :slight_smile: