adobe / adobe/spectrum-web-components

[Bug]: ActionButton cannot activate longpress content using JAWS

Open
#3,197 3 comments 0 reactions 0 assignees View on GitHub
a11y bug Component:Action button Needs repro SEV 2
Dominant language
TypeScript
Stars
1.5k
Forks
262
Avg merge
3d 10h
Merged PRs (30d)
68

Description

### Code of conduct

- [X] I agree to follow this project's code of conduct.

### Impacted component(s)

sp-action-button

### Expected behavior

When longpress content is present I should be able to activate that content using JAWS.

### Actual behavior

Cannot activate the longpress content using JAWS

### Screenshots

_No response_

### What browsers are you seeing the problem in?

Firefox, Chrome, Microsoft Edge

### How can we reproduce this issue?

1. Start JAWS
1. Go to https://opensource.adobe.com/spectrum-web-components/components/action-button/#action-button-with-hold-affordance
2. Focus on one of the buttons with longpress using the tab key
3. Try using space or alt+down arrow
4. Note that the longpress content does not appear

This also reproduces with NVDA except here alt+down arrow does show the longpress content.

### Sample code that illustrates the problem

_No response_

### Logs taken while reproducing problem

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with JAWS on the sp-action-button longpress example at the linked Action Button documentation page, using Space and Alt+Down Arrow in Firefox, Chrome, and Edge. Trace the component behavior for the hold affordance and verify that the longpress content can be activated with JAWS; also check the reported NVDA behavior for comparison.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.