Design comparison
SolutionDesign
Solution retrospective
How good is the responsiveness??
Community feedback
- @PhoenixDev22Posted over 2 years ago
Hello Akinsorotan Timilehin,
Congratulation on completing this challenge. Excellent work! I have few suggestions regarding your solution, if you don't mind:
HTML
- The logo's alternate text should not be
logo
. You can use the website's name as an alternate text. You may setalt=”Fylo logo"
.
- Wrap the nav links by
<a>
for example:<li><a clas=”...”>Features</a></li>
- look up a bit more about how and when to write alt text on images. Learn the differences with decorative/meaningless images vs important content like
icon-phone, icon-arrow , icon-quotes
andicon-email
... are decorative. For decorative images, you set an emptyalt
to it with anaria-hidden=”true”
to remove that element from the accessibility tree. This can improve the experience for assistive technology users by hiding purely decorative images. The alternate text should not be hyphenated. It should be human readable.
- Forms with proper inputs and labels are much easier for people to use. To pair the label and input, one way is n explicit label’s
for
attribute value must match its input’sid
value. Input fields without accompanying labels can lead to accessibility issues for those who rely on screen readers. If a screen reader comes across an input field without a label it will try to find some accompanying text to use as the label. (To hide the label visually but present for assistive technology, you may usesr-only
class )
- For the alternate text of the avatar testimonial should not be avatar-testimonial, it’s meaningless , you can use the avatar’s name
alt=" kyle burton"
.
- For the testimonial , you may use
<blockquote>, <figure>, <figcaption>
- Use the
<nav >
landmark to wrap the footer navigation witharia-label=”secondary “
oraria-label=”footer”
. A brief description of the purpose of the navigation, omitting the term "navigation", as the screen reader will read both the role and the contents of the label. Thenav
element in the header could use anaria-label="primary"
oraria-label=”main”
attribute on it. The reason for this is that, you should add thearia-label
for a nav element if you are using the nav more than once on the page.you can read more in MDN
- You may use the
<address>
tag to wrap the contact information for the author/owner of a document or an article (email and phone number.)
• Instead of using a generic
div
, Use the<ul>
to wrap the social links . Put your links within an unordered list structure so that a screen reader will read out how many things are in the list to give visually impaired users the most information possible about the contents of the navigation.- The social links wrapping the icons must have
aria-label
orsr-only
text indicate where the link will navigate the user.
Aside these, You did great work. Hopefully this feedback helps.
1@Timi005Posted over 2 years ago@PhoenixDev22 Thanks So Much, It means a lot
0 - The logo's alternate text should not be
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord