Skip to content

Commit

Permalink
TaskIcon: make label optional. Icons are already labelled by external…
Browse files Browse the repository at this point in the history
… button.
  • Loading branch information
shaunanoordin committed Nov 22, 2023
1 parent aa2a888 commit 0bd5e7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/pages/lab-pages-editor/icons/TaskIcon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ function TaskIcon({

return (
<span
aria-label="Task type: text"
className={`fa fa-fw ${faTaskIcon}`}
role="img"
aria-label={alt}
role={!!alt ? 'img' : undefined}
/>
);
}
Expand Down

0 comments on commit 0bd5e7f

Please sign in to comment.