Tell us what’s happening:
Does this code only have to do with accessibility for blind users of the website? I’ve commented out this part of the code and the website still functions. I’ve tried to research how this “works” on the website, but dont understand why its not explained in this tutorial if you are having us students submit this code. Firstly, am I researching this attribute correctly under “accessbility?” Secondly, how do I to set up my system so I can test how this attribute works?
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
playlistSongElements.forEach((songEl) => {
songEl.removeAttribute("aria-current");
});
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Challenge Information:
Learn Basic String and Array Methods by Building a Music Player - Step 64