You can focus the button using the keyboard, and activate it with the Enter and Space keys. Notice how the visual active style is also triggered, giving keyboard users clear visual feedback that the button was clicked.
If you only place an icon as the content of the button, you should provide an alternative label for screen reader users by using the standard aria-label
attribute.