Simplest use case: a button with text in it, telling the user what to do.
Also supported- block use:
To add interactivity you can pass an action to onClicked
It is also possible to style a link to look like a button using the es-button
or es-button-secondary
class.
<a href="https://emberjs.com" class="es-button">Go to Ember homepage</a>
<a href="https://guides.emberjs.com" class="es-button-secondary">Go to the Guides</a>
Since we're using the native HTML button element and requiring a label value to be provided, the component itself is accesible as it is.
If you are going to put an icon in the button, then you will need to set an aria-label property on the button: