Closed Bug 1413213 Opened 7 years ago Closed 4 months ago

all radio buttons in radio group are iterable with TAB key

Categories

(Core :: Layout: Form Controls, defect, P3)

56 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1267488
Accessibility Severity s3

People

(Reporter: skyboyer, Unassigned)

References

Details

(Keywords: access)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Steps to reproduce:

Create group of radio buttons.
Try to enter and leave the group with keyboard navigation using TAB key.

Example:
<style type="text/css">
input:focus {
 outline: 1px solid red;
}
</style>
<input type="text" /><br />
<input type="radio" name="test" value="1" />1<br />
<input type="radio" name="test" value="2" />2<br />
<input type="radio" name="test" value="3" />3<br />
<input type="text" />

I've also found old closed issues about the same:
https://bugzilla.mozilla.org/show_bug.cgi?id=17602
https://bugzilla.mozilla.org/show_bug.cgi?id=277198



Actual results:

After TAB is pressed first radio button in the group is focused.
Any fither TAB pressings moves focus to next radio button in the same group until reaching last radio button in the group.

NOTE: after any radio button is checked/selected TAB does not move focus inside the group(works according to w3c spec)


Expected results:

After TAB is pressed first radio in the group button should be focused.
After next time TAB is pressed focus should leave radio group with moving to next widget.
https://www.w3.org/wiki/RadioButton
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
When focus is on the group and when no radio button is selected:
* Tab key press moves focus to the first radio button in the group, but does not select the radio button.
* Shift+Tab key press moves focus to the last radio button in the group, but does not select the radio button.

Confirmed Firefox behavior is different from Chrome on focus moves within radio group without selection.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Severity: normal → S3
Accessibility Severity: --- → s3
Keywords: access
See Also: → 1267488
Blocks: 1879655
Status: NEW → RESOLVED
Closed: 4 months ago
Duplicate of bug: 1267488
Resolution: --- → DUPLICATE
See Also: 1267488
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: