mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-03 05:02:01 -05:00
fix(curriculum): correct aria-label hint in music player step 43 (#60144)
This commit is contained in:
@@ -27,7 +27,7 @@ setPlayButtonAccessibleText();
|
||||
assert.equal(playButton.getAttribute("aria-label"), "Play Cruising for a Musing");
|
||||
```
|
||||
|
||||
When `userData.currentSong` is `null`, `setPlayButtonAccessibleText` should set the `aria-label` attribute of the play button to `Play` followed by a space and title of the first song in your playlist.
|
||||
When `userData.currentSong` is `null`, `setPlayButtonAccessibleText` should set the `aria-label` attribute of the play button to `Play`.
|
||||
|
||||
```js
|
||||
userData.currentSong = null;
|
||||
|
||||
Reference in New Issue
Block a user