Develop script to check for basic accessibility parameters
Write a script in the language of your choice which takes the path of an HTML file as input and parses the file to check for the following basic accessibility parameters:
- Are all the images containing an alt attribute
- Are the relevant input fields having a Label attribute
- Are all ARIA landmarks labeled
- Are there any drastic change in header sizes e.g., from <h1>to<h3>
- Are there any underlined texts which are not a link
- All fontawesome icons should use <span>instead of<i>. Example<span class="fa fa-user"></span>
- All <i>,<b>tags with the exception of fontawesome icons should be replaced with<em>or<strong>
- All <a>tags must contain some text.
Maybe issue a warning for the following:
- Use negligible Javascript (only when extremely necessary)
Feel free to suggest any improvements to these or add some more to the list.
Edited  by Samarth Sharma