Learn Basic String and Array Methods by Building a Music Player - Step 64

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

It is not the main focus in this section. It is focussing on JavaScript Algos, etc teaching you JavaScript and interacting with the DOM.

You can research it further if you like. The course’s aim is to give you the information that moves you in the direction of being a developer, I’d advice you to follow the path layed out for you. It is good training for staying on track as well, btw.

I’d argue, that it doesnt need to be the “main” focus to explain to the student what is happening in this code.