зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
5c3d7d4ed9
Коммит
99fcfa7336
|
@ -1031,6 +1031,9 @@ static const uint64_t kCacheInitialized = ((uint64_t)0x1) << 63;
|
||||||
case roles::TOGGLE_BUTTON:
|
case roles::TOGGLE_BUTTON:
|
||||||
return @"AXToggle";
|
return @"AXToggle";
|
||||||
|
|
||||||
|
case roles::PAGETAB:
|
||||||
|
return @"AXTabButton";
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,8 +62,7 @@ add_task(async () => {
|
||||||
|
|
||||||
let tab = selectedTabs[0];
|
let tab = selectedTabs[0];
|
||||||
is(tab.getAttributeValue("AXRole"), "AXRadioButton", "Correct role for tab");
|
is(tab.getAttributeValue("AXRole"), "AXRadioButton", "Correct role for tab");
|
||||||
// Bug 1626638
|
is(
|
||||||
todo_is(
|
|
||||||
tab.getAttributeValue("AXSubrole"),
|
tab.getAttributeValue("AXSubrole"),
|
||||||
"AXTabButton",
|
"AXTabButton",
|
||||||
"Correct subrole for tab"
|
"Correct subrole for tab"
|
||||||
|
|
|
@ -30,8 +30,7 @@ addAccessibleTask("mac/doc_aria_tabs.html", async (browser, accDoc) => {
|
||||||
|
|
||||||
let tab = selectedTabs[0];
|
let tab = selectedTabs[0];
|
||||||
is(tab.getAttributeValue("AXRole"), "AXRadioButton", "Correct role for tab");
|
is(tab.getAttributeValue("AXRole"), "AXRadioButton", "Correct role for tab");
|
||||||
// Bug 1626638
|
is(
|
||||||
todo_is(
|
|
||||||
tab.getAttributeValue("AXSubrole"),
|
tab.getAttributeValue("AXSubrole"),
|
||||||
"AXTabButton",
|
"AXTabButton",
|
||||||
"Correct subrole for tab"
|
"Correct subrole for tab"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче