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)
Tracking
()
NEW
People
(Reporter: john.northup, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(1 file)
|
8.63 KB,
image/png
|
Details |
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="{"title":""}" 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
| Reporter | ||
Comment 1•8 months ago
|
||
Updated•8 months ago
|
Comment 2•8 months ago
|
||
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
Updated•7 months ago
|
Type: defect → enhancement
You need to log in
before you can comment on or make changes to this bug.
Description
•