|
For all those saying that ARIA trumps semantic elements, consider that for basic interactions semantic elements come out of the box keyboard accessible. For example, a <button> will have default tabindex=0 and respond to spacebar key presses, but you'd have to add that yourself if you put role=button on a <div>. In short, if there is a semantic element that matches your need, use it. |
Yes! This is known as The First Rule of ARIA.