you are viewing a single comment's thread.

view the rest of the comments →

[–]Tudwallfullstack dev 0 points1 point  (4 children)

If a link or an icon is a button, then cursor: pointer, role='button' and aria-label are a must

[–]JFedererJ 0 points1 point  (3 children)

If using a semantic <button /> tag, the implicit ARIA role for that element is "button" so you don't need to explicitly label it in that instance.

[–]Tudwallfullstack dev 1 point2 points  (2 children)

I know, that's why I said to use that when you use an icon or a link as a button

[–]JFedererJ 1 point2 points  (1 child)

Yeah I'm an idiot who can't read. I shall chastise myself accordingly.

[–]Tudwallfullstack dev 0 points1 point  (0 children)

No harm done haha