Skip to content

Commit

Permalink
Adds aria label to dismiss button that does not contain text
Browse files Browse the repository at this point in the history
  • Loading branch information
clpetersonucf committed Oct 17, 2024
1 parent 41052a3 commit 6ac6dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/player/player-tutorial.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const PlayerTutorial = (props) => {
</div>
</div>
<button className='modal-dismiss' onClick={toggle} id="tutorial-ready-btn">I'm Ready</button>
<button className='modal-close-x' onClick={toggle}><span className='icon icon-cross'></span></button>
<button className='modal-close-x' onClick={toggle} aria-label='Close dialog'><span className='icon icon-cross'></span></button>
</div>

<div className='modal-bg' onClick={toggle}>
Expand Down

0 comments on commit 6ac6dbe

Please sign in to comment.