Closed
Bug 1664086
Opened 5 years ago
Closed 5 years ago
Use Fluent to set aria-label for credit card list options in preferences
Categories
(Toolkit :: Form Autofill, defect)
Toolkit
Form Autofill
Tracking
()
RESOLVED
FIXED
82 Branch
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: Jamie, Assigned: Jamie)
References
Details
Attachments
(1 file)
In bug 1662879 D89548, aria-label is manually set for options in the credit cards list in preferences after Fluent translation for the option has completed. As noted in this comment:
So, the problem you're facing here is that what you wrote is not ready to react to locale changes during the document's life cycle.
If the element gets retranslated to a new locale, the aria-label will stay with the old one.
I didn't fix this in that patch because a proper fix would have required a new Fluent string, which we can't do there because we need to uplift it to 81. Alternatively, we could have used a MutationObserver, but that's pretty intense and isn't really the right solution anyway.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Pushed by jteh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/65196da3227e
Use Fluent to set aria-label for credit card list options in preferences. r=zbraniecki,fluent-reviewers
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox82:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•