Bug: Perma a11y-checks linux [tier 2] TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js | Node is not accessible via accessibility API: id: searchmode-switcher-close, tagName: toolbarbutton, className: toolbarbu
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2024-09-13 10:37:36+00:00
Resolved: 2024-12-30 06:59:28+00:00

**Filed by:** imoraru [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=474157007&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/JrVjsKMYQRuJ-XpDQP_qCQ/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2024-09-13T09:09:46.201Z] 09:09:46     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js | Expected placeholder l10n when search mode is active - {"args":{"name":"Bing"},"id":"urlbar-placeholder-search-mode-web-2"} deepEqual {"id":"urlbar-placeholder-search-mode-web-2","args":{"name":"Bing"}} - 
[task 2024-09-13T09:09:46.201Z] 09:09:46     INFO - Press the close button and escape search mode
[task 2024-09-13T09:09:46.201Z] 09:09:46     INFO - Buffered messages finished
[task 2024-09-13T09:09:46.202Z] 09:09:46     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js | Node is not accessible via accessibility API: id: searchmode-switcher-close, tagName: toolbarbutton, className: toolbarbutton-icon close-button - 
[task 2024-09-13T09:09:46.202Z] 09:09:46     INFO - Stack trace:
[task 2024-09-13T09:09:46.202Z] 09:09:46     INFO - chrome://mochikit/content/browser-test.js:test_ok:1597
[task 2024-09-13T09:09:46.202Z] 09:09:46     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:a11yFail:752
[task 2024-09-13T09:09:46.202Z] 09:09:46     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertCanBeClicked:1161
[task 2024-09-13T09:09:46.203Z] 09:09:46     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:runIfA11YChecks/this.AccessibilityUtils:1137
[task 2024-09-13T09:09:46.203Z] 09:09:46     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:handleEvent:1254
[task 2024-09-13T09:09:46.203Z] 09:09:46     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js:detect_searchmode_changes:148
[task 2024-09-13T09:09:46.203Z] 09:09:46     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-09-13T09:09:46.203Z] 09:09:46     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-09-13T09:09:46.203Z] 09:09:46     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-09-13T09:09:46.203Z] 09:09:46     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-09-13T09:09:46.203Z] 09:09:46     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-09-13T09:09:46.203Z] 09:09:46     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js | Urlbar should never be in search mode without the corresponding attribute. - false == false - 
```