A Few Bug Fixes
I will write a longer post about the investigatory work that I have completed for my portfolio very soon. However in the meantime, I wanted to quickly outline some bug fixes in my child theme. Full details can be found in my GitHub repository here: https://github.com/FionaMacNeill/learningjournal These changes were based on reports from the:
- W3C Markup Validation Service (W3C, 2016)
- IDI Web Accessibility Checker (AChecker, 2016)
I finally managed to fix the label tag issue (mentioned in the “contenders” section in my last post). It was missing the id, so once I added id = “search” into the php file and added <label for =“search” to the searchform.php file it was sorted. That took a bit of troubleshooting for sure.
The NU HTML checker flagged some role distinctions that are not required for certain elements in HTML. I could tell that these roles were not needed in my updated child theme, so I removed the tags. These needed to be altered in the following files: header.php, index.php, sidebar.php and footer.php New versions of these files have all been added to both the child theme folder and my GitHub repository.
I got the footer displaying, not only my freshly minted WCAG 2.0 AA compliance badge
AChecker. (2011). IDI web accessibility checker: Web accessibility checker. Retrieved October 21, 2016, from AChecker website, http://achecker.ca/checker/index.php
W3C. (2016). The W3C markup validation service. Retrieved October 21, 2016, from https://validator.w3.org/