Neither about:translations's source text area nor target language selector focused on page load
Categories
(Firefox :: Translations, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox147 | --- | wontfix |
| firefox148 | --- | fix-optional |
| firefox149 | --- | affected |
People
(Reporter: cpeterson, Assigned: cpeterson)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
This bug is a regression from bug 1970962 in Fx 145.
I bisected this regression to this push:
Steps to reproduce
- Click in the address bar.
- Type
translateand select the "Translate" quick action (or just enterabout:translationsdirectly).
Expected behavior
Either the source text area or target language selector should be focused.
The target language selector is focused when loading about:translations directly because no target language has been specified. The source text area is focused when about:translations is loaded by the Translate quick action because the quick action defaults the target language to the browser's language.
Actual behavior
Neither the source text area nor target language selector are focused.
| Assignee | ||
Comment 1•2 days ago
|
||
AboutTranslations's #setInitialFocus() call in #setup() no longer works
after bug 1970962 because the UI is hidden when #setup() is called.
applied. The page is hidden by default: body { visibility: hidden; } in
toolkit/components/translations/content/about-translations.css. The body only
becomes visible in onFeatureEnabled() via document.body.style.visibility =
"visible".
Updated•2 days ago
|
Description
•