[SOLVED] Applied Accessibility: Improve Accessibility of Audio Content with the audio Element

EDIT: solved if you remove the ID from the audio tag.

Hi I think there’s a bug in topic “Applied Accessibility: Improve Accessibility of Audio Content with the audio Element”.

ERROR:
// running test
Make sure your audio element has a closing tag.
// tests completed

SOURCE:

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

    </audio>
    
  </main>
</body>
1 Like

I have the same mistake.

You can delete your: [id=""]. Let’s try.

1 Like

Thanks, that helped me out with the same issue. I am brand new to coding so this may be a dumb question but when creating my own projects will setting up an id on the audio tags create complications in the future or is this just a bug with this one exercise?

1 Like

I think it’s just something wrong with the compiler for this exercise. :slight_smile:

2 Likes

What would be the steps to figure out how to go about changing the challenge with the right error message, so for someone that left the [id=""] in there, it would say specifically in the error message, like “Your audio tag contains additional text” or whatever. I have a github account, just wondering where in the repository, I make that edit, do pull request/submit for review for change to the challenge. Etc. What are the challenges, and the tests in the challenges written in? Javascript?

I think I could step up my fcc game, by offering edits where I can, as going through the curriculum, I come across lots of little things that could be changed, not bugs per se, but, edits that would make the newbs fcc experience just a little easier.

Thanks

Here it is June 23, 2018 and the bug is STILL THERE. And, no, I did not include an “id” tag. It’s a flaw. Can the biggies not see this?

1 Like

not solved. removing the ID doesn’t fix the bug.

This is the answer, it worked for me:

Real Coding Ninjas

A sound clip of Zersiax's screen reader in action.

Check my answer to the question

removing the ID helped. Thank you very much. I also think that it is a bug.

<audio controls>
       <source  src="https://s3.amazonaws.com/freecodecamp/screen-reader.mp3"  type="audio/mpeg" />
</audio>

it keeps saying “Your code should have one audio tag.”, but I couldn’t find anything wrong here…