Closed Bug 1662879 Opened 4 years ago Closed 4 years ago

credit card autofill: card type not labeled for screen reader users.

Categories

(Toolkit :: Form Autofill, defect)

All
Windows
defect

Tracking

()

RESOLVED FIXED
82 Branch
Accessibility Severity s2
Tracking Status
firefox81 - fixed
firefox82 + fixed

People

(Reporter: asa, Assigned: Jamie)

References

Details

(Keywords: access)

Attachments

(2 files)

We show credit card logos in the credit card edit dialog and the autofill pop-up and those logos contain meaningful information, the card issuer, which is not read to screen reader users.

Steps to reproduce:

  1. With a credit card saved, focus a credit card field
  2. Arrow down to the first credit card in your list

Results: the cardholder's name and starred out credit card number are announced by the screen reader but the credit card issuer, which is visually available, is not announced by the screen reader.

Expected: the card issuer's name is announced.

Additional Information: this is also a problem with the saved credit cards dialog too.

Tested on today's Nightly on Windows with NVDA

The list in preferences uses CSS background images based on an attribute (cc-type) set on the options. Making this accessible is probably going to require setting aria-label.

I'm not quite sure how to make the autocomplete result accessible. it uses nsIAutoCompleteResult.getImageAt. Because we use nsIAutoCompleteResult here, we don't have direct access to the item, so I don't know how we could set aria-label or similar.

This is pretty problematic if a user has multiple credit cards under the same name but different types, so marking access-s2.

Whiteboard: [access-s2]

[Tracking Requested - why for this release]: This is a severe accessibility problem in credit card autofill, which is a Shirley feature and will thus likely have significant visibility.

Blocks: 1645503

tracking+, but we're pretty low on time to fix this for 81

Assignee: nobody → jteh
Status: NEW → ASSIGNED
See Also: → 1664086
Blocks: 1664086
See Also: 1664086
Pushed by jteh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5daec3a7ae6f
part 1: Expose the credit card type via aria-label in the credit card list in Preferences. r=zbraniecki
https://hg.mozilla.org/integration/autoland/rev/3952f1301e38
part 2: Expose the credit card type via aria-label for credit card autocomplete results. r=zbraniecki
Pushed by jteh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/928ddc1ceffb
part 1: Expose the credit card type via aria-label in the credit card list in Preferences. r=zbraniecki
https://hg.mozilla.org/integration/autoland/rev/9845c9d150a0
part 2: Expose the credit card type via aria-label for credit card autocomplete results. r=zbraniecki
Flags: needinfo?(jteh)
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch

Comment on attachment 9174578 [details]
Bug 1662879 part 1: Expose the credit card type via aria-label in the credit card list in Preferences.

Beta/Release Uplift Approval Request

  • User impact if declined: Accessibility issue with narrators and the new credit card autofill feature.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Since this would get uplifed to an RC, I plan to
  1. take tomorrow's nightly for a spin to be sure everything is laid out right and working properly.
  2. Ask QA to run through a quick test of the feature and preferences next week.
  • String changes made/needed: none
Attachment #9174578 - Flags: approval-mozilla-beta?
Attachment #9174579 - Flags: approval-mozilla-beta?

Comment on attachment 9174578 [details]
Bug 1662879 part 1: Expose the credit card type via aria-label in the credit card list in Preferences.

Cancelling, no need for an uplift to 81 as the feature will not ship in that release.

Attachment #9174578 - Flags: approval-mozilla-beta?
Attachment #9174579 - Flags: approval-mozilla-beta?

Comment on attachment 9174578 [details]
Bug 1662879 part 1: Expose the credit card type via aria-label in the credit card list in Preferences.

See below for request details. We'll be shipping through an experiment in 81, so we want to get these into the RC build kicking off today.

Attachment #9174578 - Flags: approval-mozilla-beta?
Attachment #9174579 - Flags: approval-mozilla-beta?

Comment on attachment 9174578 [details]
Bug 1662879 part 1: Expose the credit card type via aria-label in the credit card list in Preferences.

Given that we're still planning to ship this for 81 via the experiment path, it makes sense to take this still. Approved for 81.0rc2.

Attachment #9174578 - Flags: approval-mozilla-beta? → approval-mozilla-release+
Attachment #9174579 - Flags: approval-mozilla-beta? → approval-mozilla-release+
Accessibility Severity: --- → s2
Whiteboard: [access-s2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: