adobe / adobe/react-spectrum

Support "aria-keyshortcuts" in react-aria-components

Open
#6,478 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
15.9k
Forks
1.6k
Avg merge
3d 9m
Merged PRs (30d)
59

Description

### Provide a general summary of the feature here

I want to be able to set `aria-keyshortcuts` on a Button.

### 🤔 Expected Behavior?

```tsx

```

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_

Contributor guide

Open the contributing guide

Research direction

Start at the react-aria-components Button entry point and inspect how ARIA props are passed to the rendered element. Verify the existing handling of `aria-keyshortcuts`, then confirm that `` places the property on the element.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
accessibility, frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.