@PhoenixDev22
Posted
Hi Dilhan Boca,
Congratulation on finishing this challenge. Great job on this one! I have few suggestions regarding your solution:
HTML
- Page should contain
<h1>
. The<h1>
is most commonly used to mark up a web page title. This challenge is supposed to be one component of a web page. To tackle the accessibility issue in the report , you may use an<h1>
visually hidden withclass=”sr-only”.
You can find it here. Then you can use<h2>
instead of<h3>
as it's recommended use the headers in a chronological order.
- The most important part in this challenge interactive elements. Since there's a :hover state on the image and means it's interactive, So there should be an interactive element around it. When you create a component that could be interacted with a user , always remember to include interactive elements like(button, textarea,input, ..)
for this imagine what would happen when you click on the image, there are two possible ways:
1: If clicking the image would show a popup where the user can see the full NFT, here you use
<button>
. 2:If clicking the image would navigate the user to another page to see the NFT, here you can use<a>
.
You should have used <a>
to wrap Equilibrium #3429
and Jules Wyvern
too.
- The link wrapping the equilibrium image should either have
Sr-only
text, anaria-label
oralt
text that says where that link takes you.
- The alternate text should not be hyphenated, it should be human readable. For any decorative images, each img tag should have empty
alt=""
and addaria-hidden="true"
attributes to make all web assistive technologies such as screen reader ignore those images inicon-view, icon-clock, icon-ethereum
.
The icon view does not really need to be in the HTML. You can use CSS for it.
Profile images like that avatar are valuable content. The alternate text should not be selfie.You can use the creator's name Jules Wyvern
. Read more how to write an alt text .
The social links wrapping the icons should have aria-label
(as you did )or sr-only
text indicate where the link will take the user. Then you set aria-hidden =”true”
to the icons to be removed from the accessibility tree and ignored by assistive technology .
Hopefully this feedback helps.
Marked as helpful
@dboca93
Posted
@PhoenixDev22 Thanks so much for your feedback, I've learnt a lot from it ! :)
@PhoenixDev22
Posted
@dboca93 Glad to help. Happy coding!
@dboca93
Posted
@PhoenixDev22 Hey there, I believe I've addressed the issues from the previous comments -- if you could take a quick look to make sure I'm on the right track -- I would really appreciate it :)
Sincere thanks, Dilhan Boca