Perma [tier 2] browser/components/preferences/tests/browser_privacypane_3.js | Interactive elements must be labeled: id: input, tagName: select, className: -
Categories
(Testing :: General, defect, P5)
Tracking
(firefox-esr140 unaffected, firefox145 unaffected, firefox146 unaffected, firefox147 affected)
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox145 | --- | unaffected |
| firefox146 | --- | unaffected |
| firefox147 | --- | affected |
People
(Reporter: intermittent-bug-filer, Unassigned)
References
(Regression)
Details
(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [collect_confirm_failure])
Filed by: agoloman [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=536947344&repo=autoland&task=F-nFRs_9Qjuoh086x7B5tg.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/F-nFRs_9Qjuoh086x7B5tg/runs/0/artifacts/public/logs/live_backing.log
[task 2025-11-22T03:31:49.118+00:00] 03:31:49 INFO - TEST-PASS | browser/components/preferences/tests/browser_privacypane_3.js | history mode is expected to remain remember -
[task 2025-11-22T03:31:49.119+00:00] 03:31:49 INFO - Buffered messages finished
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_privacypane_3.js | Interactive elements must be labeled: id: input, tagName: select, className: -
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - Stack trace:
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - chrome://mochikit/content/browser-test.js:test_ok:1759
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:a11yFail:798
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertLabelled:1013
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertCanBeClicked:1221
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:runIfA11YChecks/this.AccessibilityUtils:1185
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:handleEvent:1304
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouseAtPoint:800
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouse:672
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouseAtCenter:844
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - chrome://mochitests/content/browser/browser/components/preferences/tests/head.js:selectHistoryMode:667
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - chrome://mochitests/content/browser/browser/components/preferences/tests/privacypane_tests_perwindow.js:test_custom_retention_fn:352
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - chrome://mochitests/content/browser/browser/components/preferences/tests/privacypane_tests_perwindow.js:runTestOnPrivacyPrefPane:16
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - chrome://mochikit/content/browser-test.js:handleTask:1279
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1368
[task 2025-11-22T03:31:49.121+00:00] 03:31:49 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1515
[task 2025-11-22T03:31:49.122+00:00] 03:31:49 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1261
[task 2025-11-22T03:31:49.122+00:00] 03:31:49 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-11-22T03:31:49.122+00:00] 03:31:49 INFO - GECKO(18616) | console.error: (new Error("Unable to retrieve the translation models.", "resource://gre/actors/TranslationsParent.sys.mjs", 2424))
[task 2025-11-22T03:31:49.123+00:00] 03:31:49 INFO - Console message: [JavaScript Warning: "Element.releaseCapture() is deprecated. Use Element.releasePointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture" {file: "chrome://global/content/elements/menupopup.js" line: 163}]
[task 2025-11-22T03:31:49.123+00:00] 03:31:49 INFO - TEST-PASS | browser/components/preferences/tests/browser_privacypane_3.js | the control to change should exist -
Comment 1•9 months ago
|
||
:tmarble, since you are the author of the regressor, bug 1995583, could you take a look?
For more information, please visit BugBot documentation.
Comment 2•9 months ago
|
||
Set release status flags based on info from the regressing bug 1995583
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Updated•9 months ago
|
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 7•9 months ago
|
||
I wonder if this is really a regression from bug 1971438, which changed test_custom_retention. Does this mean that the new dropdown here with the config-based prefs is not adequately labeled for a11y?
Comment 8•9 months ago
|
||
So the history select should have an aria-label="History" in this case. The quick fix would be to add it to these strings https://searchfox.org/firefox-main/rev/1c9d86edc5d91b67ba8c858a053de40e1b98dc95/browser/locales/en-US/browser/preferences/preferences.ftl#1314-1321
A potentially better fix would be to update the config to support labelling a control by its group label, so we'd have something like:
{
id: "rememberHistory",
control: "moz-select",
l10nId: "history-remember-description2", // This sets the description
labelledByGroup: true, // This does (pseudo-code) `control.inputEl.ariaLabelledByElements = [group.fieldset.legendEl]`
...
}
| Comment hidden (Intermittent Failures Robot) |
Comment 10•9 months ago
|
||
I think this is a dupe of Bug 1999685. I have a patch attached there which should resolve it.
Description
•