Closed crutchcorn closed 5 years ago
While integrating this plugin into our side, one of our A11Y focused team members pointed out that the images were not selectable via keyboard, which felt unfair to hard-sighted keyboard using-users:
https://github.com/unicorn-utterances/unicorn-utterances/pull/90#issuecomment-538826129
This PR adds a tabindex of 0 and a "space" and "enter" listener for the images themselves to act as a "pressable" entity for users using the keyboard
@crutchcorn Thanks for PR! I commented on file changed! plz check!
While integrating this plugin into our side, one of our A11Y focused team members pointed out that the images were not selectable via keyboard, which felt unfair to hard-sighted keyboard using-users:
https://github.com/unicorn-utterances/unicorn-utterances/pull/90#issuecomment-538826129
This PR adds a tabindex of 0 and a "space" and "enter" listener for the images themselves to act as a "pressable" entity for users using the keyboard