Closed Bug 2008127 Opened 4 months ago Closed 2 months ago

Button does not programmatically indicate that it opens a dialog (Customize button)

Categories

(Firefox :: New Tab Page, enhancement)

Firefox 148
enhancement

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: john.northup, Assigned: turker.baris)

References

(Blocks 1 open bug)

Details

(Keywords: access, good-first-bug)

Attachments

(2 files)

Steps to Reproduce

Open DevTools. Inspect the Customize button.

Expected Behavior

aria-haspopup="dialog" is present.

Actual Behavior

aria-haspopup attribute not present.

User Impact

Semantic information diluted.

WCAG 2.2 References

Best practice only. While aria-haspopup="dialog" adds semantic information, its absence does not constitute a WCAG failure provided the dialog itself is properly implemented and announced.

Recommendations

Apply aria-haspopup="dialog" to the button that opens the dialog.

Testing Environment

Any

Assistive Technology Used

Any

Code Pointers

<button class="personalize-button personalize-animate-enter-done" data-l10n-id="newtab-customize-panel-icon-button" title="Customize this page">

Further Reference

Blocks: 2004739
Keywords: access

Reproduced with Firefox 148.0a1 (2025-12-31) on macOS 15 and Windows 10.
Marking this issue as new for engineering input.
Thank you!

Status: UNCONFIRMED → NEW
Ever confirmed: true
Type: defect → enhancement
Keywords: good-first-bug

Hi, I'm a new contributor and I'd like to work on this bug. I've set up my development environment and can build Firefox locally. I'll add aria-haspopup="dialog" to the Customize button in CustomizeMenu.jsx.

Assignee: nobody → turker.baris
Attachment #9549012 - Attachment description: WIP: Bug 2008127 - Add aria-haspopup="dialog" to Customize button on New Tab Page. → Bug 2008127 - Add aria-haspopup="dialog" to Customize button on New Tab Page.
Status: NEW → ASSIGNED
See Also: → 2008254
Pushed by rhamoui@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/bc759a6f8a71 https://hg.mozilla.org/integration/autoland/rev/6c0b6b3b20de Add aria-haspopup="dialog" to Customize button on New Tab Page. r=home-newtab-reviewers,reemhamz
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
QA Whiteboard: [qa-triage-done-c151/b150]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: