Bug 1901853: Update <dd> and <dl> roles to match spec for VO r=eeejay

Differential Revision: https://phabricator.services.mozilla.com/D213280
This commit is contained in:
Morgan Rae Reschenberg 2024-06-13 19:47:05 +00:00
parent e6dd073317
commit 8c415c1069
2 changed files with 4 additions and 4 deletions

View File

@ -985,7 +985,7 @@ ROLE(DEFINITION_LIST,
nullptr,
ATK_ROLE_LIST,
NSAccessibilityListRole,
@"AXDescriptionList",
@"AXDefinitionList",
ROLE_SYSTEM_LIST,
ROLE_SYSTEM_LIST,
java::SessionAccessibility::CLASSNAME_LISTVIEW,
@ -1011,7 +1011,7 @@ ROLE(DEFINITION,
nsGkAtoms::definition,
ATK_ROLE_PARAGRAPH,
NSAccessibilityGroupRole,
@"AXDescription",
@"AXDefinition",
ROLE_SYSTEM_GROUPING,
IA2_ROLE_PARAGRAPH,
java::SessionAccessibility::CLASSNAME_VIEW,

View File

@ -216,9 +216,9 @@ addAccessibleTask(
// Other elements
testRoleAndSubRole(accDoc, "deletion", "AXGroup", "AXDeleteStyleGroup");
testRoleAndSubRole(accDoc, "dl", "AXList", "AXDescriptionList");
testRoleAndSubRole(accDoc, "dl", "AXList", "AXDefinitionList");
testRoleAndSubRole(accDoc, "dt", "AXGroup", "AXTerm");
testRoleAndSubRole(accDoc, "dd", "AXGroup", "AXDescription");
testRoleAndSubRole(accDoc, "dd", "AXGroup", "AXDefinition");
testRoleAndSubRole(accDoc, "hr", "AXSplitter", "AXContentSeparator");
testRoleAndSubRole(accDoc, "insertion", "AXGroup", "AXInsertStyleGroup");
testRoleAndSubRole(