WebAIM - Web Accessibility In Mind

E-mail List Archives

Changing semantics via ARIA Role


From: Dennis Deacon
Date: Sep 15, 2015 9:30AM

I understand that changing an element's role is generally frowned upon. An
example would be placing role="link" on a div (just use a link). Are there
acceptable exceptions to this (say role="button" on a link)?

I ask because general guidance seems to bend on this inferred hard & fast

Thanks in advance.

Dennis Deacon
Website/Portfolio: dennisdeacon.com
Blog: dennisdeacon.com/blog
LinkedIn Profile: linkedin.com/in/dennisdeacon