Bug 1872912 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

When this bug is fixed, the `browser/base/content/test/forms/browser_selectpopup_searchfocus.js` test will start passing a11y_checks (test locally with `./mach test --enable-a11y-checks` flag or on try with `swr-a11y-checks linux !wayland !tsan !asan !ccov !devedition !debug` query for jobs), thus [the `fail-if` notation](https://searchfox.org/mozilla-central/rev/762f24e00a9548d80ebba1b985c871ba6d9b829d/browser/base/content/test/forms/browser.toml#18) would need to be removed from the test manifest alongside the bug fix.
When this bug is fixed, the `browser/base/content/test/forms/browser_selectpopup_searchfocus.js` test will start passing a11y_checks (test locally with `./mach test --enable-a11y-checks` flag or on try with `swr-a11y-checks linux !wayland !tsan !asan !ccov !devedition !debug` query for jobs), thus [the `fail-if` notation](https://searchfox.org/mozilla-central/rev/762f24e00a9548d80ebba1b985c871ba6d9b829d/browser/base/content/test/forms/browser.toml#18) would need to be removed from the test manifest alongside the bug fix.

Also, I think the string for the `placeholder` attribute could be added to the `toolkit/locales/en-US/toolkit/global/htmlForm.ftl` localization file, i.e:
```
# This string is shown in the search field that is added at the top of the
# <select> dropdown when the list of options is long enough. This placeholder
# creates an on-screen label for the search input and serves as its accessible
# name for screen readers and other assistive technology to use.
select-search-input =
    .placeholder = Search list of options
```

Back to Bug 1872912 Comment 1