Closed Bug 1901633 Opened 5 months ago Closed 5 months ago

Cannot focus/change selection with keyboard in radio group where first button is disabled

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P2)

defect

Tracking

()

VERIFIED FIXED
129 Branch
Accessibility Severity s3
Tracking Status
firefox129 --- verified
firefox130 --- verified

People

(Reporter: morgan, Assigned: Jamie)

References

Details

(Keywords: access)

Attachments

(1 file)

STR:

  1. Load https://jsfiddle.net/hmjones/17d5j4br/22/
  2. Attempt to tab to the radio group
  3. Attempt to change selection with arrow keys

Expected:
Selection changes, the same way it does when a user clicks with a mouse

Actual:
The buttons cannot be focused or interacted with

cc: Jamie, this is the bug we talked about in our last 1:1

Flags: needinfo?(jteh)
Assignee: nobody → jteh
Accessibility Severity: --- → s3
Flags: needinfo?(jteh)
Keywords: access

Distilled test case:
data:text/html,<button>before</button><label><input type="radio" name="r" checked disabled>1</label><label><input type="radio" name="r">2

Severity: -- → S3
Priority: -- → P2
Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/30eaedcc0fff Focus the first possible radio button in a group if the selected radio button is disabled or hidden. r=smaug
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Blocks: 1904368

Reproducible on a 2024-06-10 Nightly build on Windows 10.
Verified as fixed on Firefox 129.0b2 and Firefox Nightly 130.0a1 on Windows 10, macOS 14, Ubuntu 22.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: