Open gregberge opened 4 months ago
I think we could add this to AriaBaseButtonProps
here: https://github.com/adobe/react-spectrum/blob/cef3714bb8816a4ee64ffb1d0730f2669738d2e4/packages/%40react-types/button/src/index.d.ts#L49-L63
Just to make sure I understand, just putting the attribute on one of our elements won't do anything other than read off to AT?
It doesn't actually do anything right? If so, then I think this is fine. Though it sounds like it's supported on every HTML element? it's going to be harder to decide which components it makes sense on. What all do you want it on so far? Just button?
@snowystinger Yeah, I think just Button is a good start, and maybe Link as well.
Provide a general summary of the feature here
I want to be able to set
aria-keyshortcuts
on a Button.๐ค Expected Behavior?
It should add the property on the element.
๐ฏ Current Behavior
It does not work.
๐ Possible Solution
No response
๐ฆ Context
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-keyshortcuts
๐ป Examples
No response
๐งข Your Company/Team
Argos
๐ท Tracking Issue
No response