Closed Bug 2008178 Opened 4 months ago Closed 1 month ago

Dialog lacks accessible name (Recent activity section > ••• disclosure > Delete from History dialog)

Categories

(Firefox :: New Tab Page, defect)

Firefox 148
defect

Tracking

()

RESOLVED FIXED
151 Branch
Accessibility Severity s3
Tracking Status
firefox151 --- fixed

People

(Reporter: john.northup, Assigned: sameekshadalvi7, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: access, good-first-bug, Whiteboard: [outreachy-sidebar-2026])

Attachments

(4 files)

Steps to Reproduce

Open DevTools. Within the Recent activity section, in any ••• disclosure, activate the Delete from History button. Using the Accessibility Inspector, inspect the resulting dialog container.

Expected Behavior

name describes the dialog.

Actual Behavior

name is undefined.

User Impact

User may not be fully aware of context.

WCAG 2.2 References

Recommendations

Use aria-labelledby to reference the visible Edit Shortcut heading.

Testing Environment

Any

Assistive Technology Used

Any

Code Pointers

<div class="modal">

Further Reference

Blocks: 2004739
Keywords: access

The issue can be seen as described by the reporter in Nightly 149.0a1. Marking as NEW.

Status: UNCONFIRMED → NEW
Ever confirmed: true
See Also: → 2008185
See Also: → 2008189

Issue is similar to the bug 2008180

Accessibility Severity: --- → s3
See Also: → 2008180

Assigning the Severity value to align with the Accessibility severity, per discussions with :thecount and :marco

Severity: -- → S3
Keywords: good-first-bug

Hi, I can reproduce this issue locally and I would like to work on it

Assignee: nobody → sameekshadalvi7
Status: NEW → ASSIGNED
Whiteboard: [outreachy-sidebar-2026]
Attached image Before Patch.png

Before patch: The dialog did not have an accessible nameit was null

Attached image After Patch.png

After patch: The dialog now correctly uses the header text as its accessible name. In this case it shows: "Are you sure you want to delete every instance of this page from history?"

Pushed by kcochrane@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d35f952e9507 https://hg.mozilla.org/integration/autoland/rev/7d87dd17f270 Add accessible name to ConfirmDialog using aria-labelledby. r=thecount,home-newtab-reviewers,kcochrane
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch

Thank you Kelly and Scott for reviewing and accepting my patch! I had worked on documentation and code cleanup contributions before but this was my first time working on actual component logic. I learned a lot from this and look forward to contributing more!🙌

Mentor: kcochrane
QA Whiteboard: [qa-triage-done-c152/b151]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: