I have read W3C's page on this, but it is still vague to me. Is the role attribute's purpose to clarify the code? Or will it be interpreted by some browsers or spiders?

Can it be used as a DOM selector using some JavaScript libraries (I am thinking so since the id attribute has to be unique, this could be used to identify multiple resources on a page)?

Edit
Report