Closed Bug 1115277 Opened 10 years ago Closed 6 years ago

[System] system app should focus operable element in modal dialog

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: johnhu, Unassigned)

References

Details

Few modules try to focus a non-focusable, tabIndex=-1, element while they show up.

Like:

[1] https://github.com/mozilla-b2g/gaia/blob/d55d1d5f39bd338ab2d298823aab1121e3d73fef/apps/system/js/app_modal_dialog.js#L226
[2] https://github.com/mozilla-b2g/gaia/blob/d55d1d5f39bd338ab2d298823aab1121e3d73fef/apps/system/js/modal_dialog.js#L213

For those cases, we should focus the first focusable element, like ok button or cancel button.
Summary: [System] system app tries to focus a non-focusable element → [System] system app should focus operable element in modal dialog
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.