Open Bug 1364060 Opened 8 years ago Updated 3 years ago

tab key is switching the control to readonly input element

Categories

(Core :: Layout: Form Controls, defect)

52 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: saipraneeth.dev, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36 Steps to reproduce: I have three input filed in a form and one of the them is readonly. <html> <head> <title>Controlling TAB Order</title> </head> <body> <form> Field 1 : <input type="text" name="field1" /><br /> Field 2 : <input type="text" name="field2" readonly=""/><br /> Field 3 : <input type="text" name="field3" /><br /> </form> </body> </html> 1. Press tab once to highlight field 1. 2. Press tab again (control is going to field 2). Expectation is move the control to Field 3. Actual results: When pressing tab, control is switching between input fields. If their is readonly input element, they it is getting highlighted. Expected results: Read only input fields should be skipped on tab key
Attached file 1364060.html
Chrome 58 has the same behaviour, the caret is visible in field 1 & 2.
Component: Untriaged → Editor
Product: Firefox → Core
Component: Editor → Layout: Form Controls
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: