gecko-dev/browser/components/tabbrowser/content
Anna Yeddi ecd9936d55 Bug 1884970 - Close current tab button is missing an accessible name and role. r=tabbrowser-reviewers,fluent-reviewers,dao,bolsson,flod
The [tab-close-button](https://searchfox.org/mozilla-central/rev/f9157a03835653cd3ece8d2dc713a782b7e4374e/browser/base/content/tabbrowser-tab.js#40) is not labeled and is missing an interactive role of button, while it is functioning as one.

Note: we do not want this control to be keyboard focusable, because keyboard-only user could close the tab via the context menu and we don't want to create an additional tab stop for the navigation as well, but making sure the control is marked up as a button with an accessible name would allow it to be actionable with speech-to-text software, with touch devices, with switch controls in scan mode, and for screen readers via their navigation shortcuts as well.

Differential Revision: https://phabricator.services.mozilla.com/D204413
2024-06-28 17:19:31 +00:00
..
browser-allTabsMenu.inc.xhtml
browser-allTabsMenu.js
browser-ctrlTab.js
browser-fullZoom.js
tab-hover-preview.mjs Bug 1902639 - update tab preview if it changes while animating. r=emilio,tabbrowser-reviewers,niklas 2024-06-25 16:32:47 +00:00
tab.js Bug 1884970 - Close current tab button is missing an accessible name and role. r=tabbrowser-reviewers,fluent-reviewers,dao,bolsson,flod 2024-06-28 17:19:31 +00:00
tabbrowser.js Bug 1884970 - Close current tab button is missing an accessible name and role. r=tabbrowser-reviewers,fluent-reviewers,dao,bolsson,flod 2024-06-28 17:19:31 +00:00
tabs.js Bug 1903996 - Make customizing and mousedown proper boolean attributes. r=Gijs 2024-06-21 15:38:54 +00:00