Tag Archives: button

Using the button role – Accessibility | MDN

The button role should be used for clickable elements that trigger a response when activated by the user. On its own, role=”button” can make any element (e.g. p, span or div) appears as a button control to a screen reader. Additionally, this role can be used in combination with the aria-pressed attribute in order to create toggle buttons.

Curated by (Lifekludger)
Read full article at Source: Using the button role – Accessibility | MDN