mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 1626638 - Add subrole of AXTabButtton to page tabs. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D69212 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
5c3d7d4ed9
commit
99fcfa7336
@ -1031,6 +1031,9 @@ static const uint64_t kCacheInitialized = ((uint64_t)0x1) << 63;
|
||||
case roles::TOGGLE_BUTTON:
|
||||
return @"AXToggle";
|
||||
|
||||
case roles::PAGETAB:
|
||||
return @"AXTabButton";
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -62,8 +62,7 @@ add_task(async () => {
|
||||
|
||||
let tab = selectedTabs[0];
|
||||
is(tab.getAttributeValue("AXRole"), "AXRadioButton", "Correct role for tab");
|
||||
// Bug 1626638
|
||||
todo_is(
|
||||
is(
|
||||
tab.getAttributeValue("AXSubrole"),
|
||||
"AXTabButton",
|
||||
"Correct subrole for tab"
|
||||
|
@ -30,8 +30,7 @@ addAccessibleTask("mac/doc_aria_tabs.html", async (browser, accDoc) => {
|
||||
|
||||
let tab = selectedTabs[0];
|
||||
is(tab.getAttributeValue("AXRole"), "AXRadioButton", "Correct role for tab");
|
||||
// Bug 1626638
|
||||
todo_is(
|
||||
is(
|
||||
tab.getAttributeValue("AXSubrole"),
|
||||
"AXTabButton",
|
||||
"Correct subrole for tab"
|
||||
|
Loading…
Reference in New Issue
Block a user