I’m having trouble completing the challenge “Applied Accessibility: Improve Accessibility of Audio Content with the audio Element” (see link below), as the bot running the validation tests seems to be malfunctioning here. I’m stuck getting the following error message " Your code should include a type attribute on the source tag with a value of audio/mpeg."
This is happening although my code contains this exact type attribute.
Moreover the file extension being .mp3, the type attribute value should be in my opinion audio/mp3.
What should I do?
don’t start thinking that everything you did is right.
but it is normal to be stuck on such things. Typos will always get you. With practice you will get better at spotting them, or start using editors that would be able to point out invalid words. (also those can’t catch everything tho)
Don’t assume that I think this way. I’m a beginner and I know it. Such a comment isn’t helping in any way and I think it’s kind of offending.
Didn’t you read the thread and my first reply?
My code is embedded there and the status of your answer is outdated.
I found my mistake.
Moreover, I just raised the following concern: with the file extension being .mp3, why is the type attribute value "audio/mepg"? When I change it for "audio/mp3" then I can play the audio file, while with "audio/mepg" (as asked in the challenge) it can’t be played in the render window.
you didn’t, your mistake is a typo
you need to write type/mpeg, you wrote type/mepg
that’s what I meant. most of the times it is the human that cause the issues. most of the times the “I did everything right, but it doesn’t work” is false, it is that it doesn’t work because you didn’t everything right