Open Bug 2008134 Opened 8 months ago Updated 7 months ago

Button does not programmatically indicate that it opens a dialog (Top sites/Shorctuts section > ••• disclosure > Add Shortcut link)

Categories

(Firefox :: New Tab Page, enhancement)

Firefox 148
enhancement

Tracking

()

People

(Reporter: john.northup, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

Steps to Reproduce

Open DevTools. In the Top Sites/Shortcuts section, inspect the Add Shortcut link.

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

<a class="top-site-button" tabindex="-1" draggable="true" data-is-sponsored-link="false" aria-label="Add Shortcut" data-l10n-id="newtab-topsites-add-shortcut-title" data-l10n-args="{&quot;title&quot;:&quot;&quot;}" title="Add Shortcut">
  <div class="tile" aria-hidden="true">
    <div class="icon-wrapper">
      <div class=""></div>
    </div>
  </div>
  <div class="title">
    <span class="title-label" dir="auto" data-l10n-id="newtab-topsites-add-shortcut-label">Add Shortcut</span>
    <span class="sponsored-label" data-l10n-id="newtab-topsite-sponsored">Sponsored</span>
  </div>
</a>

Further Reference

Attached image Add Shortcut link

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
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: