Query whether the keyboard event represents an element activation. That is, whether the user pressed Enter or Space on a focusable element with role="button" or similar interactive role.
Enter
Space
role="button"
Query whether the keyboard event represents an element activation. That is, whether the user pressed
EnterorSpaceon a focusable element withrole="button"or similar interactive role.