Closed Bug 1790651 Opened 2 years ago Closed 2 years ago

Firefox View Feature Callout close button leaves focus in random places

Categories

(Firefox :: Messaging System, defect, P1)

defect

Tracking

()

VERIFIED FIXED
106 Branch
Iteration:
106.2 - Sept 5 - Sept 16
Tracking Status
firefox106 --- verified

People

(Reporter: dmosedale, Assigned: dmosedale)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #1790382; splitting outt the close button work so it can be parallelized +++

Per :ayeddi

  • "When Close button is activated, the programmatic focus lands inconsistently somewhere on the page to any item that was under the Close button. It is expected that the focus would return to the top of the page, if the user did not navigate the page prior to getting on the onboarding popup. But if the user wandered around, the best place to return the focus would be the last focusable element before the onboarding popup was injected in the DOM or on the topmost element right after it, i.e. when the last popup is dismissed, the focus could be placed on the aside section for Colorways, for instance with the tabindex="-1" on the Independent Voices heading, so the user does not miss any piece of the content after the dismissal"

See featureCallout.mjs for feature callout code.

Summary: Update Firefox View Feature Callout so that screenreaders read expected content in the proper order → Firefox View Feature Callout close button leaves focus in random places
Attachment #9294552 - Attachment description: WIP: Bug 1790651 - place focus better on feature callout close → Bug 1790651 - place focus better on feature callout close, r?ayeddi,mviar
Attachment #9294552 - Attachment is obsolete: true
Attachment #9294789 - Attachment description: Bug 1790651 - place focus better on feature callout close, r?ayeddi,mviar → Bug 1790651 - place focus better on feature callout close, r?emcminn
Blocks: 1791072
Pushed by dmosedale@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/db79ab8d3676 place focus better on feature callout close, r=ayeddi,emcminn
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
Regressions: 1791873
No longer regressions: 1791873
Regressions: 1791873

I have verified this issue using the latest Firefox Beta 106.0b3 (Build ID: 20220922185808) on Windows 10x64, macOs12.3.1 and LinuxMint 20.2 x64.

  • The focus after the user exits the callout tour is placed on most recently focused element.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: