VOOZH about

URL: https://bugzilla.mozilla.org/show_bug.cgi?id=2008117

⇱ 2008117 - Button accessible name does not convey its function and is misleading (Settings dialog > Topics dialog > Close button)


Open Bug 2008117 Opened 5 months ago Updated 4 months ago

Button accessible name does not convey its function and is misleading (Settings dialog > Topics dialog > Close button)

Button accessible name does not convey its function and is misleading (Settings dialog > Topics dialog > Close button)
Firefox
New Tab Page
Firefox 148
Unspecified
Unspecified
defect
Points:
---
NEW
---
Iteration:
---
Accessibility Severity s2
a11y-review
Accessibility Severity
Performance Impact
Webcompat Priority
Webcompat Score
Tracking Status
firefox149 --- affected
Tracking Status
relnote-firefox
firefox-esr115
firefox-esr140
firefox-esr153
firefox149
firefox152
firefox153
firefox154
---
QA Whiteboard:
---
Has STR:
---
Change Request:
---
Bug Flags:
Signature:
None
This bug is publicly visible.

 
👁 Image
Close button containing "< Topics"
6.62 KB, image/png
Details
Reporter

Description

5 months ago

Steps to Reproduce

Open DevTools. Activate the Customize button. Within the Settings dialog, activate the Manage topics button. The Topics dialog opens. Using the Accessibility Inspector, inspect the button that contains the Topics heading.

Expected Behavior

name describes the function of the button.

Actual Behavior

name represents the dialog content ( Topics ), omitting the function of the button (to close the dialog).

User Impact

The function of the button (close the dialog) is not exposed to AT. The < icon (chrome://global/skin/icons/arrow-left.svg) gives a visual clue that activating the button will go back, but this is not exposed to AT users.

WCAG 2.2 References

Recommendations

Remove the Topics heading from the button, leaving the < icon to visually represent the button, with aria-label="back to settings" and an accessible tooltip expressing the same.

Testing Environment

Any

Assistive Technology Used

Any

Code Pointers

<button class="arrow-button">
 <h1 data-l10n-id="newtab-section-mangage-topics-title">Topics</h1>
</button>

Further Reference

Flags: needinfo?(john.northup)
Reporter

Updated

5 months ago
Flags: needinfo?(john.northup)
Blocks: 2004739
Keywords: access

Managed to reproduce this issue on macOs 13 using Nightly 149.0a1. I will set this request as "NEW" to allow the engineering team to consider whether they will implement the fix or not.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Using the current page's title as a label for the "Back" button is misleading, thus assigning it access-S2 severity

Accessibility Severity: --- → s2
Summary: Button accessible name does not convey its function (Settings dialog > Topics dialog > Close button) → Button accessible name does not convey its function and is misleading (Settings dialog > Topics dialog > Close button)
See Also: → 2008121

When this bug would address the structure of the "< Topics" button, the 2 (now closed) bugs should be re-evaluated to ensure the change in the content of the dialog is being communicated to assistive technology users appropriately:

  1. bug 2008179 (communicating accessible name of the container/dialog)
  2. bug 2008186 (ensuring the change in a type of container, if any, is communicated)

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

Severity: -- → S2

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

You need to log in before you can comment on or make changes to this bug.