Open Bug 1422712 Opened 2 years ago Updated 2 years ago

If you press the right/left arrow when the "Clear Form" button is selected, the form is not entirely cleared

Categories

(Toolkit :: Form Autofill, defect, P3)

defect

Tracking

()

Tracking Status
firefox59 --- affected

People

(Reporter: Ovidiu, Assigned: ralin)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [form autofill: V2])

[Affected version]: 

Tested on Mac OS X 10.13 and Windows 10

[Affected platforms]: 

Nightly 59.0a1

[Steps to reproduce]:

Prerequisites:
 1. Make sure you have at least two saved profile.


1. Go to https://luke-chang.github.io/autofill-demo/basic.html
2. Double-click on the "Name" field and using your keyboard arrows select a profile and press "Enter"
3. On the "Name" field press down arrow and using your keyboard arrows focus "Clear Form" button
4. Press the right/left arrow


[Expected results]: All the data is deleted. 
[Actual results]: Only the data from the "Name" field is deleted.


[Note]: Please see this video for a better understanding:  https://streamable.com/8e0rt
Blocks: 1404768
Whiteboard: [form autofill: V2]
Blocks: 1423052
Assignee: nobody → ralin
Hi Mark,

Intuitively I guess pressing up/down to navigate on suggestion list and pressing enter to behave as the equivalent of mouse click are desirable, though those aren't defined on UX spec.  But I'm not sure what's the expected result for pressing left/right key in form autofill. Do you have any idea about this?
 
If no straight decision, I think we can have a further and comprehensive discussion about keyboard accessibility first, and then back to this bug to judge whether this is valid or not.
Flags: needinfo?(mliang)
Intuitively I think left/right arrow key shouldn't do anything in the dropdown list. Left/right key should probably navigate the cursor inside the input field. If users want to clear form, they should press down and then press enter.
Flags: needinfo?(mliang)
You need to log in before you can comment on or make changes to this bug.