Bug: Provide moz-input-box combobox with an accessible name for the browser/components/urlbar/tests/browser/browser_view_selectionByMouse.js to pass Tier 2 a11y-checks
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-11-30 03:12:57+00:00
Resolved: 2024-02-01 00:17:03+00:00

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

---
```
[task 2023-11-30T00:44:50.655Z] 00:44:50     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_view_selectionByMouse.js | input.value should be as expected - "example.com/initial" == "example.com/initial" - 
[task 2023-11-30T00:44:50.656Z] 00:44:50     INFO - Buffered messages finished
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_view_selectionByMouse.js | Interactive elements must be labeled: id: , tagName: moz-input-box, className: urlbar-input-box - 
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - Stack trace:
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochikit/content/browser-test.js:test_ok:1587
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:a11yFail:392
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertLabelled:575
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertLabelled/<:564
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - EventListener.handleEvent*chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertLabelled:552
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertCanBeClicked:733
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:runIfA11YChecks/this.AccessibilityUtils:700
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:handleEvent:807
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouseAtPoint:727
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouse:565
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouseAtCenter:846
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_view_selectionByMouse.js:buttons/<:516
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:146
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_view_selectionByMouse.js:buttons:457
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochikit/content/browser-test.js:handleTask:1138
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1210
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1352
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1127
[task 2023-11-30T00:44:50.662Z] 00:44:50     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-11-30T00:44:50.663Z] 00:44:50     INFO - Running test with showTopSites = true: Menu button to row-inner
[task 2023-11-30T00:44:50.663Z] 00:44:50     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com/initial" line: 0}]
[task 2023-11-30T00:44:50.664Z] 00:44:50     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_view_selectionByMouse.js | Sanity check: pageproxystate should be valid initially - "valid" == "valid" - 
```