Ahmed Bayoumi• 6,740
@Bayoumi-dev
Posted
Hey Radek, It looks great... You just have an accessibility issue
you need to fix.
Buttons must have discernible text
, Don't leave the alt attribute empty.
<button class="changeAdvBtn">
<img src="./images/icon-dice.svg" alt="Advice generator">
</button>
Or Set the attribute aria-label
to describe this button. like this:
<button class="changeAdvBtn" aria-label="Advice generator">
<img src="./images/icon-dice.svg" alt="">
</button>
Keep coding👍
Marked as helpful
1