Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Ecommerce product page with focus on a11y

P

@srijanss

Desktop design screenshot for the E-commerce product page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

  • I learned about different aria attributes which will make screen readers aware about the state changes within the app
  • aria-live, role="alert", role="status" were helpful to let screen readers know what is happening when they click button or there is an error submitting a form
  • another important thing I learned regarding the popup within the app is to trap focus within the opened dialog box, so that keyboard users and screen readers have an idea on where the current active element is
  • using the calc method was really helpful to figure out how to place the on hover border on nav links
  • I learned a lot about how to build image slider
  • I learned how to duplicate first and last item in the image list to create infinite slider
  • And building the lightbox using the clone of image gallery was really fun

What challenges did you encounter, and how did you overcome them?

There were many items , popups and image slider to be included in the app. Making this app with a11y concerns were bit challenging. So, I divided the app into smaller components and worked on them individually and applied a11y related features on smaller components first. Then applied those same to the image sliders, light box modals etc.

What specific areas of your project would you like help with?

  • Any feedback specially regarding the a11y are welcome
  • I am learning on how to make web apps accessible to all users, so feedbacks are welcome

Community feedback

P
Sam Hooker 410

@35degrees

Posted

I'm not familiar with JS constructors yet so I can't really review your code but it looks good. The a11y was tough for me as well and breaking it into smaller components is a smart way to do it. The mobile drop down menu appears and then disappears when sliding into mobile width, that would be my only feedback to check out but otherwise looks awesome!

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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