[Resolved] Role attribute
I was looking through the header.php file for the twentyeleven theme and I saw this line
<header id="branding" role="banner">
I’m new to web development so I was curious to what the role attribute was, after googling I found that it is a xHTML attribute but the document is HTML5?
Is this attribute useless in HTML5 and should I remove it for my custom theme?
- The topic ‘[Resolved] Role attribute’ is closed to new replies.