fix(curriculum): correct aria-label hint in music player step 43 (#60144)

This commit is contained in:
bobofishbo
2025-05-05 03:25:43 -04:00
committed by GitHub
parent ec43a5c4db
commit 181321d90d

View File

@@ -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;