'main' HTML tag after 'header' tag

 The 'main' HTML tag comes between the site 'header' and 'footer' tags.


There can be a page 'header' and a page 'footer' within a 'main' tag.


There can also be 'header's and 'footer's wihin 'article' and 'section' tags. 


I wrongly put my site 'header' and 'footer' tags within my 'main' tag and Chrome did not mark the 'header' and 'footer' as 'landmark' tags in the accessibility tree.


There are more tips at: bbingo.xyz/t

Comments

Popular posts from this blog

How a CSS fish animation works

Giving PWA icons transparent backgrounds

Simple animation spacing out letters in an centred phrase