HTML5 semantic elements

 I have been adding more semantic HTML5 elements to my webpages.


I have added 'header', 'section', 'main' and 'nav' elements.


The 'accessiblity' course on 'web.dev' says to add semantic elements before adding ARIA attribues.


I do use an ARIA label to distinguish two identical links. One link is big for small screens. The other link is small for big screens.


There are more tips at: bbingo.xyz/t

Comments

Popular posts from this blog

webkit-tap-highlight-color in CSS