Improve Accessibility of Audio Content with the audio Element help pls

Tell us what’s happening:

Your code so far

    <h1>Real Coding Ninjas</h1>
    <p>A sound clip of Zersiax's screen reader in action.</p>
    <audio  controls> 
    <source src="" type="audio/mpeg"/> 

Your browser information:

Link to the challenge:

This telling me that I don’t have audio closing tag. Why?

You could say your code should be neater but this really is just down to how the tests run, i.e your code is fine and correct so you should not worry (just be aware of spacing!).

The problem is because of a space between audio and controls:

<audio  controls>// double space casues tests to fail
<audio controls> // will pass the tests

Hope this helps :slight_smile:

1 Like

I see it now, my fault. Thanks a lot! :grin: