mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): correct aria-label hint in music player step 43 (#60144)
This commit is contained in:
parent
ec43a5c4db
commit
181321d90d
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user