Open Bug 1429263 Opened 7 years ago Updated 2 years ago

Prevent further payment request dialog changes while waiting for change responses

Categories

(Firefox :: WebPayments UI, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: MattN, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [webpayments-reserve])

Attachments

(1 file)

When the "PaymentRequest updated algorithm" runs to dispatch an event to notify the merchant of a change, the payment request dialog shouldn't allow further changes until the response to first change was received in order to avoid UI becoming inconsistent with the merchant state. See `event.[[waitForUpdate]]`[1] and `request.[[updating]]`[2] [1] https://w3c.github.io/payment-request/#dfn-waitforupdate [2] https://w3c.github.io/payment-request/#dfn-updating
Bug 1429205 implemented a basic overlay but doesn't fully prevent using buttons behind the overlay. Some things we should do: * prevent tabbing to controls behind the overlay * ensure screen readers don't read the hidden contents e.g. @aria-disabled * ensure elements that are already focused aren't usable with the keyboard or mouse
Priority: P3 → P2
Whiteboard: [webpayments]
Priority: P2 → P3
Whiteboard: [webpayments] → [webpayments-reserve]
Product: Toolkit → Firefox
Blocks: 1429260
See Also: → 1470595
This bug should also cover not running validation until the update has completed.
Depends on: 1498310
Attached image validation-delay.png
Visuals of what should happen on a validation delay. When validation occurs on click of a navigation button the loading indicator appears in the button with a 80% white overlay behind. When from a picker or without a button the loading indicator is centered on top of a 80% white overlay.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: