@rayaatta
Posted
Hi Parkavan C K๐, congratulations on completing another challenge ๐
Ignoring the information I told you on the other challenge.
Here are some suggestions.
1
I noticed <p class="date">Published 21 Dec 2023</p>
when a screen reader pronounces the above paragraph.
It reads. 21 Dec 2023
as it is.
This should be wrapped in
<time datetime="2023-12-21">21 Dec 2023</time>
This is machine readable therefore it is more accessible. To find out more about the time tag check out this article๐.
2
Since the avatar image is not decorative fill its alt attribute with the name of the person on the image i.e alt="Greg Hooper"
I hope this helps ๐
Otherwise nice solution ๐
Marked as helpful
@Parkavan2003
Posted
Hi @rayaatta, what did you mean in the 1st suggestion. Can I give class name as "date", Its correct or not.
@rayaatta
Posted
Its okay to name a class anything you like. The only issue is surrounding the 21 Dec 2023
inside a time tag@Parkavan2003