Skip to content

partialarts/week1-refactor-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Front End Bootcamp - Week 1 Code Refactor Challenge

Description

The purpose of this project was to refactor a marketing website's existing sites code in order to make it more accessible for people using assistive technologies, whilst at the same time improving search engine optimisation. This widens the potential audience for the site and ensures nobody is left out from being able visit. As a bonus, it may also increase the amount of traffic to the site and have a positive impact on business.

The aim was to use semantic HTML5 elements and add alt attributes to all images and icons to describe their content, as well as optimising the structure of the code to make it more logical and sequential for those using technologies such as screen readers.

In doing this I unconvered some inefficient and broken code, such as links not working, multiple CSS selectors for elements with identical style properties and heading attributes out of sequence. Many of the elements on the page were inside <div> containers, these are not semantic don't provide structural information for people with accessibility needs.

This project has enabled me to learn more about semantic HTML, further my CSS and Git knowledge, as well as the requirements and standards for those with accessibility needs. In my reading, I learned about ARIA landmarks to help assistive technology users navigate easily to various sections of a page and was able to implement these in my code. I also added comments to all CSS selectors and sections of HTML to ease future development of the site, which required me to read further to fully understand the code.

Deployed Application

Usage

To use this web page, you can open index.html inside a browser. To see the refactored code, open the DevTools by pressing Command+Option+I (macOS) or Control+Shift+I (Windows). A console panel should open either below or to the side of the webpage in the browser. There you will see the refactored HTML and CSS code along with comments.

Screenshot

The Horiseon webpage includes a navigation bar, a header image, and cards with text and images at the bottom of the page.

Credits

External Tutorials and Resources

License

MIT - See LICENSE file in repo

About

Front-end bootcamp - Week 1 challenge to make existing HTML more accessible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published