Use HTML5 Semantic elements​

HTML5 introduced useful semantic elements like, , , , , ,and . The sad part is, many WordPress themes still use the generic element where one of the semantic elements could be used.

Using semantic elements gives your content meaning. For example, if you write the header of a section inside an element, then a screen reader will mention that the text is a heading. This greatly improves the accessibility of your website.One more example, if your navigation bar is wrapped inside the element, then a person using the screen reader will be able to know that the list of links coming up next is the navigation links.

Leave a Reply

Skip to content