Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Including an alt tag for the like/dislike buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliotFriend committed Sep 25, 2023
1 parent 3ff5d77 commit d94f3b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ReaderFeedback/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ const ReaderFeedback = ({ pageId }) => {
) : (
<>
Did you find this page helpful?
<IconThumbsUp className="feedback_thumbsup" onClick={() => giveFeedback(1)} />
<IconThumbsDown className="feedback_thumbsdown" onClick={() => giveFeedback(0)} />
<IconThumbsUp className="feedback_thumbsup" alt="Like" onClick={() => giveFeedback(1)} />
<IconThumbsDown className="feedback_thumbsdown" alt="Dislike" onClick={() => giveFeedback(0)} />
</>
)}
</div>
Expand Down

0 comments on commit d94f3b5

Please sign in to comment.