Source/WebCore/ChangeLog

 12017-04-10 Joanmarie Diggs <jdiggs@igalia.com>
 2
 3 [ATK] Implement support for DPub ARIA roles
 4 https://bugs.webkit.org/show_bug.cgi?id=170679
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 Modify the following WebCore Accessibility mappings:
 9 - doc-abstract changed from LandmarkRegionRole to ApplicationGroupRole,
 10 because this DPub ARIA role does not subclass the ARIA landmark role
 11 - doc-biblioentry and doc-endnote changed from ApplicationGroupRole to ListItemRole,
 12 because these DPub ARIA roles subclass the ARIA listitem role
 13 - doc-notice and doc-tip changed from ApplicationGroupRole to DocumentNoteRole,
 14 because these DPub ARIA roles subclass the ARIA note role
 15 - doc-pagebreak changed from ApplicationGroupRole to SplitterRole,
 16 because this DPub ARIA role subclasses the ARIA separator role
 17
 18 Fix ATK mapping of ApplicationGroupRole elements from DPub, which should be exposed
 19 as ATK_ROLE_SECTION because they are text groups; not ATK_ROLE_PANEL, which is used
 20 for containers of user-interface elements.
 21
 22 No new tests required: New test cases were added to xml-roles-exposed.html, and
 23 the platform expectations for roles-exposed.html were updated to reflect the
 24 correct mappings.
 25
 26 * accessibility/AccessibilityObject.cpp:
 27 (WebCore::initializeRoleMap):
 28 (WebCore::AccessibilityObject::isTextBlockGroup):
 29 * accessibility/AccessibilityObject.h:
 30 * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
 31 (webkitAccessibleGetAttributes):
 32 (atkRole):
 33 * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
 34 (-[WebAccessibilityObjectWrapper subrole]):
 35
1362017-04-10 Andreas Kling <akling@apple.com>
237
338 Don't generate extra scrolling tiles for non-visible pages.

Source/WebCore/accessibility/AccessibilityObject.cpp

@@static void initializeRoleMap()
21122112 { "directory", DirectoryRole },
21132113 // The 'doc-*' roles are defined the ARIA DPUB mobile: https://www.w3.org/TR/dpub-aam-1.0/
21142114 // Editor's draft is currently at https://rawgit.com/w3c/aria/master/dpub-aam/dpub-aam.html
2115  { "doc-abstract", LandmarkRegionRole },
 2115 { "doc-abstract", ApplicationGroupRole },
21162116 { "doc-acknowledgments", LandmarkRegionRole },
21172117 { "doc-afterword", LandmarkRegionRole },
21182118 { "doc-appendix", LandmarkRegionRole },
21192119 { "doc-backlink", WebCoreLinkRole },
2120  { "doc-biblioentry", ApplicationGroupRole },
 2120 { "doc-biblioentry", ListItemRole },
21212121 { "doc-bibliography", LandmarkRegionRole },
21222122 { "doc-biblioref", WebCoreLinkRole },
21232123 { "doc-chapter", LandmarkRegionRole },

@@static void initializeRoleMap()
21272127 { "doc-credit", ApplicationGroupRole },
21282128 { "doc-credits", LandmarkRegionRole },
21292129 { "doc-dedication", ApplicationGroupRole },
2130  { "doc-endnote", ApplicationGroupRole },
 2130 { "doc-endnote", ListItemRole },
21312131 { "doc-endnotes", LandmarkRegionRole },
21322132 { "doc-epigraph", ApplicationGroupRole },
21332133 { "doc-epilogue", LandmarkRegionRole },

@@static void initializeRoleMap()
21402140 { "doc-index", LandmarkNavigationRole },
21412141 { "doc-introduction", LandmarkRegionRole },
21422142 { "doc-noteref", WebCoreLinkRole },
2143  { "doc-notice", ApplicationGroupRole },
2144  { "doc-pagebreak", ApplicationGroupRole },
 2143 { "doc-notice", DocumentNoteRole },
 2144 { "doc-pagebreak", SplitterRole },
21452145 { "doc-pagelist", LandmarkNavigationRole },
21462146 { "doc-part", LandmarkRegionRole },
21472147 { "doc-preface", LandmarkRegionRole },

@@static void initializeRoleMap()
21492149 { "doc-pullquote", ApplicationGroupRole },
21502150 { "doc-qna", ApplicationGroupRole },
21512151 { "doc-subtitle", HeadingRole },
2152  { "doc-tip", ApplicationGroupRole },
 2152 { "doc-tip", DocumentNoteRole },
21532153 { "doc-toc", LandmarkNavigationRole },
21542154 { "grid", GridRole },
21552155 { "gridcell", GridCellRole },

@@bool AccessibilityObject::isSuperscriptStyleGroup() const
31603160 return node && node->hasTagName(supTag);
31613161}
31623162
 3163bool AccessibilityObject::isTextBlockGroup() const
 3164{
 3165 AccessibilityRole role = roleValue();
 3166 if (role == GroupRole)
 3167 return true;
 3168
 3169 if (role == ApplicationGroupRole || role == ListItemRole)
 3170 return getAttribute(roleAttr).startsWith("doc-");
 3171
 3172 return false;
 3173}
 3174
31633175bool AccessibilityObject::isFigure() const
31643176{
31653177 Node* node = this->node();

Source/WebCore/accessibility/AccessibilityObject.h

@@public:
559559 bool isStyleFormatGroup() const;
560560 bool isSubscriptStyleGroup() const;
561561 bool isSuperscriptStyleGroup() const;
 562 bool isTextBlockGroup() const;
562563 bool isFigure() const;
563564 bool isSummary() const { return roleValue() == SummaryRole; }
564565 bool isOutput() const;

Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp

@@static AtkAttributeSet* webkitAccessibleGetAttributes(AtkObject* object)
427427 // According to the W3C Core Accessibility API Mappings 1.1, section 5.4.1 General Rules:
428428 // "User agents must expose the WAI-ARIA role string if the API supports a mechanism to do so."
429429 // In the case of ATK, the mechanism to do so is an object attribute pair (xml-roles:"string").
430  // The computedRoleString is primarily for testing, and not limited to elements with ARIA roles.
431  // Because the computedRoleString currently contains the ARIA role string, we'll use it for
432  // both purposes, as the "computed-role" object attribute for all elements which have a value
433  // and also via the "xml-roles" attribute for elements with ARIA, as well as for landmarks.
434  String roleString = coreObject->computedRoleString();
435  if (!roleString.isEmpty()) {
436  if (coreObject->ariaRoleAttribute() != UnknownRole || coreObject->isLandmark())
437  attributeSet = addToAtkAttributeSet(attributeSet, "xml-roles", roleString.utf8().data());
438  attributeSet = addToAtkAttributeSet(attributeSet, "computed-role", roleString.utf8().data());
 430 // We cannot use the computedRoleString for this purpose because it is not limited to elements
 431 // with ARIA roles, and it might not contain the actual ARIA role value (e.g. DPub ARIA).
 432 String roleString = coreObject->getAttribute(HTMLNames::roleAttr);
 433 if (!roleString.isEmpty())
 434 attributeSet = addToAtkAttributeSet(attributeSet, "xml-roles", roleString.utf8().data());
 435
 436 String computedRoleString = coreObject->computedRoleString();
 437 if (!computedRoleString.isEmpty()) {
 438 attributeSet = addToAtkAttributeSet(attributeSet, "computed-role", computedRoleString.utf8().data());
 439
 440 // The HTML AAM maps several elements to ARIA landmark roles. In order for the type of landmark
 441 // to be obtainable in the same fashion as an ARIA landmark, fall back on the computedRoleString.
 442 if (coreObject->ariaRoleAttribute() == UnknownRole && coreObject->isLandmark())
 443 attributeSet = addToAtkAttributeSet(attributeSet, "xml-roles", computedRoleString.utf8().data());
439444 }
440445
441446 String roleDescription = coreObject->roleDescription();

@@static AtkRole atkRole(AccessibilityObject* coreObject)
549554 case TabPanelRole:
550555 return ATK_ROLE_PANEL;
551556 case ApplicationGroupRole:
 557 return coreObject->isTextBlockGroup() ? ATK_ROLE_SECTION : ATK_ROLE_PANEL;
552558 case GroupRole:
553559 return coreObject->isStyleFormatGroup() ? ATK_ROLE_SECTION : ATK_ROLE_PANEL;
554560 case RowHeaderRole:

Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm

@@- (NSString*)subrole
21042104 return @"AXDetails";
21052105 if (role == SummaryRole)
21062106 return @"AXSummary";
 2107 if (role == ListItemRole && m_object->isTextBlockGroup())
 2108 return @"AXApplicationGroup";
21072109
21082110 if (m_object->isMediaTimeline())
21092111 return NSAccessibilityTimelineSubrole;

Tools/ChangeLog

 12017-04-10 Joanmarie Diggs <jdiggs@igalia.com>
 2
 3 [ATK] Implement support for DPub ARIA roles
 4 https://bugs.webkit.org/show_bug.cgi?id=170679
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 Add DPub ARIA landmark roles to roleToString().
 9
 10 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
 11
1122017-04-10 Carlos Garcia Campos <cgarcia@igalia.com>
213
314 [GTK] Remove the GDK dependency from ImageDiff

Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp

@@const gchar* roleToString(AtkObject* object)
328328 return landmarkStringComplementary;
329329 if (equalLettersIgnoringASCIICase(xmlRolesValue, "contentinfo"))
330330 return landmarkStringContentinfo;
 331 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-acknowledgments"))
 332 return landmarkStringRegion;
 333 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-afterword"))
 334 return landmarkStringRegion;
 335 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-appendix"))
 336 return landmarkStringRegion;
 337 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-bibliography"))
 338 return landmarkStringRegion;
 339 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-chapter"))
 340 return landmarkStringRegion;
 341 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-conclusion"))
 342 return landmarkStringRegion;
 343 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-credits"))
 344 return landmarkStringRegion;
 345 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-endnotes"))
 346 return landmarkStringRegion;
 347 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-epilogue"))
 348 return landmarkStringRegion;
 349 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-errata"))
 350 return landmarkStringRegion;
 351 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-foreword"))
 352 return landmarkStringRegion;
 353 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-glossary"))
 354 return landmarkStringRegion;
 355 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-glossref"))
 356 return landmarkStringRegion;
 357 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-index"))
 358 return landmarkStringRegion;
 359 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-introduction"))
 360 return landmarkStringRegion;
 361 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-pagelist"))
 362 return landmarkStringRegion;
 363 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-part"))
 364 return landmarkStringRegion;
 365 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-preface"))
 366 return landmarkStringRegion;
 367 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-prologue"))
 368 return landmarkStringRegion;
 369 if (equalLettersIgnoringASCIICase(xmlRolesValue, "doc-toc"))
 370 return landmarkStringRegion;
331371 if (equalLettersIgnoringASCIICase(xmlRolesValue, "main"))
332372 return landmarkStringMain;
333373 if (equalLettersIgnoringASCIICase(xmlRolesValue, "navigation"))

LayoutTests/ChangeLog

 12017-04-10 Joanmarie Diggs <jdiggs@igalia.com>
 2
 3 [ATK] Implement support for DPub ARIA roles
 4 https://bugs.webkit.org/show_bug.cgi?id=170679
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 Update tests and expectations to reflect the modified WebCore Accessibility
 9 role mappings, and the corresponding changes for the platforms.
 10
 11 * accessibility/gtk/xml-roles-exposed-expected.txt:
 12 * accessibility/gtk/xml-roles-exposed.html:
 13 * accessibility/roles-exposed.html:
 14 * inspector/dom/getAccessibilityPropertiesForNode-expected.txt:
 15 * platform/gtk/TestExpectations:
 16 * platform/gtk/accessibility/roles-exposed-expected.txt:
 17 * platform/mac/accessibility/roles-exposed-expected.txt:
 18
1192017-04-10 Andreas Kling <akling@apple.com>
220
321 Don't generate extra scrolling tiles for non-visible pages.

LayoutTests/accessibility/gtk/xml-roles-exposed-expected.txt

@@AXEnabled: 1
249249AXExpanded: 0
250250AXRequired: 0
251251AXChecked: 0
252 AXPlatformAttributes: computed-role:list, xml-roles:list, tag:div, toolkit:WebKitGtk
 252AXPlatformAttributes: computed-role:list, xml-roles:directory, tag:div, toolkit:WebKitGtk
253253------------
254254AXRole: AXDocument
255255AXParent: AXWebArea

@@AXEnabled: 1
706706AXExpanded: 0
707707AXRequired: 0
708708AXChecked: 0
709 AXPlatformAttributes: readonly:false, tag:div, toolkit:WebKitGtk
 709AXPlatformAttributes: xml-roles:textbox, readonly:false, tag:div, toolkit:WebKitGtk
710710------------
711711AXRole: AXTimer
712712AXParent: AXWebArea

@@AXRequired: 0
765765AXChecked: 0
766766AXPlatformAttributes: computed-role:tooltip, xml-roles:tooltip, tag:div, toolkit:WebKitGtk
767767------------
 768AXRole: AXSection
 769AXParent: AXWebArea
 770AXChildren: 0
 771AXPosition: { 0.000000, 0.000000 }
 772AXSize: { 0.000000, 0.000000 }
 773AXTitle:
 774AXDescription:
 775AXValue:
 776AXFocusable: 0
 777AXFocused: 0
 778AXSelectable: 0
 779AXSelected: 0
 780AXMultiSelectable: 0
 781AXEnabled: 1
 782AXExpanded: 0
 783AXRequired: 0
 784AXChecked: 0
 785AXPlatformAttributes: computed-role:group, xml-roles:doc-abstract, tag:div, toolkit:WebKitGtk
 786------------
 787AXRole: AXLandmarkRegion
 788AXParent: AXWebArea
 789AXChildren: 0
 790AXPosition: { 0.000000, 0.000000 }
 791AXSize: { 0.000000, 0.000000 }
 792AXTitle:
 793AXDescription:
 794AXValue:
 795AXFocusable: 0
 796AXFocused: 0
 797AXSelectable: 0
 798AXSelected: 0
 799AXMultiSelectable: 0
 800AXEnabled: 1
 801AXExpanded: 0
 802AXRequired: 0
 803AXChecked: 0
 804AXPlatformAttributes: computed-role:region, xml-roles:doc-acknowledgments, tag:div, toolkit:WebKitGtk
 805------------
 806AXRole: AXLandmarkRegion
 807AXParent: AXWebArea
 808AXChildren: 0
 809AXPosition: { 0.000000, 0.000000 }
 810AXSize: { 0.000000, 0.000000 }
 811AXTitle:
 812AXDescription:
 813AXValue:
 814AXFocusable: 0
 815AXFocused: 0
 816AXSelectable: 0
 817AXSelected: 0
 818AXMultiSelectable: 0
 819AXEnabled: 1
 820AXExpanded: 0
 821AXRequired: 0
 822AXChecked: 0
 823AXPlatformAttributes: computed-role:region, xml-roles:doc-afterword, tag:div, toolkit:WebKitGtk
 824------------
 825AXRole: AXLandmarkRegion
 826AXParent: AXWebArea
 827AXChildren: 0
 828AXPosition: { 0.000000, 0.000000 }
 829AXSize: { 0.000000, 0.000000 }
 830AXTitle:
 831AXDescription:
 832AXValue:
 833AXFocusable: 0
 834AXFocused: 0
 835AXSelectable: 0
 836AXSelected: 0
 837AXMultiSelectable: 0
 838AXEnabled: 1
 839AXExpanded: 0
 840AXRequired: 0
 841AXChecked: 0
 842AXPlatformAttributes: computed-role:region, xml-roles:doc-appendix, tag:div, toolkit:WebKitGtk
 843------------
 844AXRole: AXLink
 845AXParent: AXWebArea
 846AXChildren: 0
 847AXPosition: { 0.000000, 0.000000 }
 848AXSize: { 0.000000, 0.000000 }
 849AXTitle:
 850AXDescription:
 851AXValue:
 852AXFocusable: 0
 853AXFocused: 0
 854AXSelectable: 0
 855AXSelected: 0
 856AXMultiSelectable: 0
 857AXEnabled: 1
 858AXExpanded: 0
 859AXRequired: 0
 860AXChecked: 0
 861AXURL: (null)
 862AXPlatformAttributes: computed-role:link, xml-roles:doc-backlink, tag:div, toolkit:WebKitGtk
 863------------
 864AXRole: AXListItem
 865AXParent: AXWebArea
 866AXChildren: 0
 867AXPosition: { 0.000000, 0.000000 }
 868AXSize: { 0.000000, 0.000000 }
 869AXTitle:
 870AXDescription:
 871AXValue:
 872AXFocusable: 0
 873AXFocused: 0
 874AXSelectable: 0
 875AXSelected: 0
 876AXMultiSelectable: 0
 877AXEnabled: 1
 878AXExpanded: 0
 879AXRequired: 0
 880AXChecked: 0
 881AXPlatformAttributes: computed-role:listitem, xml-roles:doc-biblioentry, tag:div, toolkit:WebKitGtk
 882------------
 883AXRole: AXLandmarkRegion
 884AXParent: AXWebArea
 885AXChildren: 0
 886AXPosition: { 0.000000, 0.000000 }
 887AXSize: { 0.000000, 0.000000 }
 888AXTitle:
 889AXDescription:
 890AXValue:
 891AXFocusable: 0
 892AXFocused: 0
 893AXSelectable: 0
 894AXSelected: 0
 895AXMultiSelectable: 0
 896AXEnabled: 1
 897AXExpanded: 0
 898AXRequired: 0
 899AXChecked: 0
 900AXPlatformAttributes: computed-role:region, xml-roles:doc-bibliography, tag:div, toolkit:WebKitGtk
 901------------
 902AXRole: AXLink
 903AXParent: AXWebArea
 904AXChildren: 0
 905AXPosition: { 0.000000, 0.000000 }
 906AXSize: { 0.000000, 0.000000 }
 907AXTitle:
 908AXDescription:
 909AXValue:
 910AXFocusable: 0
 911AXFocused: 0
 912AXSelectable: 0
 913AXSelected: 0
 914AXMultiSelectable: 0
 915AXEnabled: 1
 916AXExpanded: 0
 917AXRequired: 0
 918AXChecked: 0
 919AXURL: (null)
 920AXPlatformAttributes: computed-role:link, xml-roles:doc-biblioref, tag:div, toolkit:WebKitGtk
 921------------
 922AXRole: AXLandmarkRegion
 923AXParent: AXWebArea
 924AXChildren: 0
 925AXPosition: { 0.000000, 0.000000 }
 926AXSize: { 0.000000, 0.000000 }
 927AXTitle:
 928AXDescription:
 929AXValue:
 930AXFocusable: 0
 931AXFocused: 0
 932AXSelectable: 0
 933AXSelected: 0
 934AXMultiSelectable: 0
 935AXEnabled: 1
 936AXExpanded: 0
 937AXRequired: 0
 938AXChecked: 0
 939AXPlatformAttributes: computed-role:region, xml-roles:doc-chapter, tag:div, toolkit:WebKitGtk
 940------------
 941AXRole: AXSection
 942AXParent: AXWebArea
 943AXChildren: 0
 944AXPosition: { 0.000000, 0.000000 }
 945AXSize: { 0.000000, 0.000000 }
 946AXTitle:
 947AXDescription:
 948AXValue:
 949AXFocusable: 0
 950AXFocused: 0
 951AXSelectable: 0
 952AXSelected: 0
 953AXMultiSelectable: 0
 954AXEnabled: 1
 955AXExpanded: 0
 956AXRequired: 0
 957AXChecked: 0
 958AXPlatformAttributes: computed-role:group, xml-roles:doc-colophon, tag:div, toolkit:WebKitGtk
 959------------
 960AXRole: AXLandmarkRegion
 961AXParent: AXWebArea
 962AXChildren: 0
 963AXPosition: { 0.000000, 0.000000 }
 964AXSize: { 0.000000, 0.000000 }
 965AXTitle:
 966AXDescription:
 967AXValue:
 968AXFocusable: 0
 969AXFocused: 0
 970AXSelectable: 0
 971AXSelected: 0
 972AXMultiSelectable: 0
 973AXEnabled: 1
 974AXExpanded: 0
 975AXRequired: 0
 976AXChecked: 0
 977AXPlatformAttributes: computed-role:region, xml-roles:doc-conclusion, tag:div, toolkit:WebKitGtk
 978------------
 979AXRole: AXImage
 980AXParent: AXWebArea
 981AXChildren: 0
 982AXPosition: { 0.000000, 0.000000 }
 983AXSize: { 0.000000, 0.000000 }
 984AXTitle:
 985AXDescription:
 986AXValue:
 987AXFocusable: 0
 988AXFocused: 0
 989AXSelectable: 0
 990AXSelected: 0
 991AXMultiSelectable: 0
 992AXEnabled: 1
 993AXExpanded: 0
 994AXRequired: 0
 995AXChecked: 0
 996AXPlatformAttributes: computed-role:img, xml-roles:doc-cover, tag:div, toolkit:WebKitGtk
 997------------
 998AXRole: AXSection
 999AXParent: AXWebArea
 1000AXChildren: 0
 1001AXPosition: { 0.000000, 0.000000 }
 1002AXSize: { 0.000000, 0.000000 }
 1003AXTitle:
 1004AXDescription:
 1005AXValue:
 1006AXFocusable: 0
 1007AXFocused: 0
 1008AXSelectable: 0
 1009AXSelected: 0
 1010AXMultiSelectable: 0
 1011AXEnabled: 1
 1012AXExpanded: 0
 1013AXRequired: 0
 1014AXChecked: 0
 1015AXPlatformAttributes: computed-role:group, xml-roles:doc-credit, tag:div, toolkit:WebKitGtk
 1016------------
 1017AXRole: AXLandmarkRegion
 1018AXParent: AXWebArea
 1019AXChildren: 0
 1020AXPosition: { 0.000000, 0.000000 }
 1021AXSize: { 0.000000, 0.000000 }
 1022AXTitle:
 1023AXDescription:
 1024AXValue:
 1025AXFocusable: 0
 1026AXFocused: 0
 1027AXSelectable: 0
 1028AXSelected: 0
 1029AXMultiSelectable: 0
 1030AXEnabled: 1
 1031AXExpanded: 0
 1032AXRequired: 0
 1033AXChecked: 0
 1034AXPlatformAttributes: computed-role:region, xml-roles:doc-credits, tag:div, toolkit:WebKitGtk
 1035------------
 1036AXRole: AXSection
 1037AXParent: AXWebArea
 1038AXChildren: 0
 1039AXPosition: { 0.000000, 0.000000 }
 1040AXSize: { 0.000000, 0.000000 }
 1041AXTitle:
 1042AXDescription:
 1043AXValue:
 1044AXFocusable: 0
 1045AXFocused: 0
 1046AXSelectable: 0
 1047AXSelected: 0
 1048AXMultiSelectable: 0
 1049AXEnabled: 1
 1050AXExpanded: 0
 1051AXRequired: 0
 1052AXChecked: 0
 1053AXPlatformAttributes: computed-role:group, xml-roles:doc-dedication, tag:div, toolkit:WebKitGtk
 1054------------
 1055AXRole: AXListItem
 1056AXParent: AXWebArea
 1057AXChildren: 0
 1058AXPosition: { 0.000000, 0.000000 }
 1059AXSize: { 0.000000, 0.000000 }
 1060AXTitle:
 1061AXDescription:
 1062AXValue:
 1063AXFocusable: 0
 1064AXFocused: 0
 1065AXSelectable: 0
 1066AXSelected: 0
 1067AXMultiSelectable: 0
 1068AXEnabled: 1
 1069AXExpanded: 0
 1070AXRequired: 0
 1071AXChecked: 0
 1072AXPlatformAttributes: computed-role:listitem, xml-roles:doc-endnote, tag:div, toolkit:WebKitGtk
 1073------------
 1074AXRole: AXLandmarkRegion
 1075AXParent: AXWebArea
 1076AXChildren: 0
 1077AXPosition: { 0.000000, 0.000000 }
 1078AXSize: { 0.000000, 0.000000 }
 1079AXTitle:
 1080AXDescription:
 1081AXValue:
 1082AXFocusable: 0
 1083AXFocused: 0
 1084AXSelectable: 0
 1085AXSelected: 0
 1086AXMultiSelectable: 0
 1087AXEnabled: 1
 1088AXExpanded: 0
 1089AXRequired: 0
 1090AXChecked: 0
 1091AXPlatformAttributes: computed-role:region, xml-roles:doc-endnotes, tag:div, toolkit:WebKitGtk
 1092------------
 1093AXRole: AXSection
 1094AXParent: AXWebArea
 1095AXChildren: 0
 1096AXPosition: { 0.000000, 0.000000 }
 1097AXSize: { 0.000000, 0.000000 }
 1098AXTitle:
 1099AXDescription:
 1100AXValue:
 1101AXFocusable: 0
 1102AXFocused: 0
 1103AXSelectable: 0
 1104AXSelected: 0
 1105AXMultiSelectable: 0
 1106AXEnabled: 1
 1107AXExpanded: 0
 1108AXRequired: 0
 1109AXChecked: 0
 1110AXPlatformAttributes: computed-role:group, xml-roles:doc-epigraph, tag:div, toolkit:WebKitGtk
 1111------------
 1112AXRole: AXLandmarkRegion
 1113AXParent: AXWebArea
 1114AXChildren: 0
 1115AXPosition: { 0.000000, 0.000000 }
 1116AXSize: { 0.000000, 0.000000 }
 1117AXTitle:
 1118AXDescription:
 1119AXValue:
 1120AXFocusable: 0
 1121AXFocused: 0
 1122AXSelectable: 0
 1123AXSelected: 0
 1124AXMultiSelectable: 0
 1125AXEnabled: 1
 1126AXExpanded: 0
 1127AXRequired: 0
 1128AXChecked: 0
 1129AXPlatformAttributes: computed-role:region, xml-roles:doc-epilogue, tag:div, toolkit:WebKitGtk
 1130------------
 1131AXRole: AXLandmarkRegion
 1132AXParent: AXWebArea
 1133AXChildren: 0
 1134AXPosition: { 0.000000, 0.000000 }
 1135AXSize: { 0.000000, 0.000000 }
 1136AXTitle:
 1137AXDescription:
 1138AXValue:
 1139AXFocusable: 0
 1140AXFocused: 0
 1141AXSelectable: 0
 1142AXSelected: 0
 1143AXMultiSelectable: 0
 1144AXEnabled: 1
 1145AXExpanded: 0
 1146AXRequired: 0
 1147AXChecked: 0
 1148AXPlatformAttributes: computed-role:region, xml-roles:doc-errata, tag:div, toolkit:WebKitGtk
 1149------------
 1150AXRole: AXSection
 1151AXParent: AXWebArea
 1152AXChildren: 0
 1153AXPosition: { 0.000000, 0.000000 }
 1154AXSize: { 0.000000, 0.000000 }
 1155AXTitle:
 1156AXDescription:
 1157AXValue:
 1158AXFocusable: 0
 1159AXFocused: 0
 1160AXSelectable: 0
 1161AXSelected: 0
 1162AXMultiSelectable: 0
 1163AXEnabled: 1
 1164AXExpanded: 0
 1165AXRequired: 0
 1166AXChecked: 0
 1167AXPlatformAttributes: computed-role:group, xml-roles:doc-example, tag:div, toolkit:WebKitGtk
 1168------------
 1169AXRole: AXSection
 1170AXParent: AXWebArea
 1171AXChildren: 0
 1172AXPosition: { 0.000000, 0.000000 }
 1173AXSize: { 0.000000, 0.000000 }
 1174AXTitle:
 1175AXDescription:
 1176AXValue:
 1177AXFocusable: 0
 1178AXFocused: 0
 1179AXSelectable: 0
 1180AXSelected: 0
 1181AXMultiSelectable: 0
 1182AXEnabled: 1
 1183AXExpanded: 0
 1184AXRequired: 0
 1185AXChecked: 0
 1186AXPlatformAttributes: computed-role:group, xml-roles:doc-footnote, tag:div, toolkit:WebKitGtk
 1187------------
 1188AXRole: AXLandmarkRegion
 1189AXParent: AXWebArea
 1190AXChildren: 0
 1191AXPosition: { 0.000000, 0.000000 }
 1192AXSize: { 0.000000, 0.000000 }
 1193AXTitle:
 1194AXDescription:
 1195AXValue:
 1196AXFocusable: 0
 1197AXFocused: 0
 1198AXSelectable: 0
 1199AXSelected: 0
 1200AXMultiSelectable: 0
 1201AXEnabled: 1
 1202AXExpanded: 0
 1203AXRequired: 0
 1204AXChecked: 0
 1205AXPlatformAttributes: computed-role:region, xml-roles:doc-foreword, tag:div, toolkit:WebKitGtk
 1206------------
 1207AXRole: AXLandmarkRegion
 1208AXParent: AXWebArea
 1209AXChildren: 0
 1210AXPosition: { 0.000000, 0.000000 }
 1211AXSize: { 0.000000, 0.000000 }
 1212AXTitle:
 1213AXDescription:
 1214AXValue:
 1215AXFocusable: 0
 1216AXFocused: 0
 1217AXSelectable: 0
 1218AXSelected: 0
 1219AXMultiSelectable: 0
 1220AXEnabled: 1
 1221AXExpanded: 0
 1222AXRequired: 0
 1223AXChecked: 0
 1224AXPlatformAttributes: computed-role:region, xml-roles:doc-glossary, tag:div, toolkit:WebKitGtk
 1225------------
 1226AXRole: AXLink
 1227AXParent: AXWebArea
 1228AXChildren: 0
 1229AXPosition: { 0.000000, 0.000000 }
 1230AXSize: { 0.000000, 0.000000 }
 1231AXTitle:
 1232AXDescription:
 1233AXValue:
 1234AXFocusable: 0
 1235AXFocused: 0
 1236AXSelectable: 0
 1237AXSelected: 0
 1238AXMultiSelectable: 0
 1239AXEnabled: 1
 1240AXExpanded: 0
 1241AXRequired: 0
 1242AXChecked: 0
 1243AXURL: (null)
 1244AXPlatformAttributes: computed-role:link, xml-roles:doc-glossref, tag:div, toolkit:WebKitGtk
 1245------------
 1246AXRole: AXLandmarkRegion
 1247AXParent: AXWebArea
 1248AXChildren: 0
 1249AXPosition: { 0.000000, 0.000000 }
 1250AXSize: { 0.000000, 0.000000 }
 1251AXTitle:
 1252AXDescription:
 1253AXValue:
 1254AXFocusable: 0
 1255AXFocused: 0
 1256AXSelectable: 0
 1257AXSelected: 0
 1258AXMultiSelectable: 0
 1259AXEnabled: 1
 1260AXExpanded: 0
 1261AXRequired: 0
 1262AXChecked: 0
 1263AXPlatformAttributes: computed-role:navigation, xml-roles:doc-index, tag:div, toolkit:WebKitGtk
 1264------------
 1265AXRole: AXLandmarkRegion
 1266AXParent: AXWebArea
 1267AXChildren: 0
 1268AXPosition: { 0.000000, 0.000000 }
 1269AXSize: { 0.000000, 0.000000 }
 1270AXTitle:
 1271AXDescription:
 1272AXValue:
 1273AXFocusable: 0
 1274AXFocused: 0
 1275AXSelectable: 0
 1276AXSelected: 0
 1277AXMultiSelectable: 0
 1278AXEnabled: 1
 1279AXExpanded: 0
 1280AXRequired: 0
 1281AXChecked: 0
 1282AXPlatformAttributes: computed-role:region, xml-roles:doc-introduction, tag:div, toolkit:WebKitGtk
 1283------------
 1284AXRole: AXLink
 1285AXParent: AXWebArea
 1286AXChildren: 0
 1287AXPosition: { 0.000000, 0.000000 }
 1288AXSize: { 0.000000, 0.000000 }
 1289AXTitle:
 1290AXDescription:
 1291AXValue:
 1292AXFocusable: 0
 1293AXFocused: 0
 1294AXSelectable: 0
 1295AXSelected: 0
 1296AXMultiSelectable: 0
 1297AXEnabled: 1
 1298AXExpanded: 0
 1299AXRequired: 0
 1300AXChecked: 0
 1301AXURL: (null)
 1302AXPlatformAttributes: computed-role:link, xml-roles:doc-noteref, tag:div, toolkit:WebKitGtk
 1303------------
 1304AXRole: AXComment
 1305AXParent: AXWebArea
 1306AXChildren: 0
 1307AXPosition: { 0.000000, 0.000000 }
 1308AXSize: { 0.000000, 0.000000 }
 1309AXTitle:
 1310AXDescription:
 1311AXValue:
 1312AXFocusable: 0
 1313AXFocused: 0
 1314AXSelectable: 0
 1315AXSelected: 0
 1316AXMultiSelectable: 0
 1317AXEnabled: 1
 1318AXExpanded: 0
 1319AXRequired: 0
 1320AXChecked: 0
 1321AXPlatformAttributes: computed-role:note, xml-roles:doc-notice, tag:div, toolkit:WebKitGtk
 1322------------
 1323AXRole: AXSeparator
 1324AXParent: AXWebArea
 1325AXChildren: 0
 1326AXPosition: { 0.000000, 0.000000 }
 1327AXSize: { 0.000000, 0.000000 }
 1328AXTitle:
 1329AXDescription:
 1330AXValue:
 1331AXFocusable: 0
 1332AXFocused: 0
 1333AXSelectable: 0
 1334AXSelected: 0
 1335AXMultiSelectable: 0
 1336AXEnabled: 1
 1337AXExpanded: 0
 1338AXRequired: 0
 1339AXChecked: 0
 1340AXPlatformAttributes: computed-role:separator, xml-roles:doc-pagebreak, tag:div, toolkit:WebKitGtk
 1341------------
 1342AXRole: AXLandmarkRegion
 1343AXParent: AXWebArea
 1344AXChildren: 0
 1345AXPosition: { 0.000000, 0.000000 }
 1346AXSize: { 0.000000, 0.000000 }
 1347AXTitle:
 1348AXDescription:
 1349AXValue:
 1350AXFocusable: 0
 1351AXFocused: 0
 1352AXSelectable: 0
 1353AXSelected: 0
 1354AXMultiSelectable: 0
 1355AXEnabled: 1
 1356AXExpanded: 0
 1357AXRequired: 0
 1358AXChecked: 0
 1359AXPlatformAttributes: computed-role:navigation, xml-roles:doc-pagelist, tag:div, toolkit:WebKitGtk
 1360------------
 1361AXRole: AXLandmarkRegion
 1362AXParent: AXWebArea
 1363AXChildren: 0
 1364AXPosition: { 0.000000, 0.000000 }
 1365AXSize: { 0.000000, 0.000000 }
 1366AXTitle:
 1367AXDescription:
 1368AXValue:
 1369AXFocusable: 0
 1370AXFocused: 0
 1371AXSelectable: 0
 1372AXSelected: 0
 1373AXMultiSelectable: 0
 1374AXEnabled: 1
 1375AXExpanded: 0
 1376AXRequired: 0
 1377AXChecked: 0
 1378AXPlatformAttributes: computed-role:region, xml-roles:doc-part, tag:div, toolkit:WebKitGtk
 1379------------
 1380AXRole: AXLandmarkRegion
 1381AXParent: AXWebArea
 1382AXChildren: 0
 1383AXPosition: { 0.000000, 0.000000 }
 1384AXSize: { 0.000000, 0.000000 }
 1385AXTitle:
 1386AXDescription:
 1387AXValue:
 1388AXFocusable: 0
 1389AXFocused: 0
 1390AXSelectable: 0
 1391AXSelected: 0
 1392AXMultiSelectable: 0
 1393AXEnabled: 1
 1394AXExpanded: 0
 1395AXRequired: 0
 1396AXChecked: 0
 1397AXPlatformAttributes: computed-role:region, xml-roles:doc-preface, tag:div, toolkit:WebKitGtk
 1398------------
 1399AXRole: AXLandmarkRegion
 1400AXParent: AXWebArea
 1401AXChildren: 0
 1402AXPosition: { 0.000000, 0.000000 }
 1403AXSize: { 0.000000, 0.000000 }
 1404AXTitle:
 1405AXDescription:
 1406AXValue:
 1407AXFocusable: 0
 1408AXFocused: 0
 1409AXSelectable: 0
 1410AXSelected: 0
 1411AXMultiSelectable: 0
 1412AXEnabled: 1
 1413AXExpanded: 0
 1414AXRequired: 0
 1415AXChecked: 0
 1416AXPlatformAttributes: computed-role:region, xml-roles:doc-prologue, tag:div, toolkit:WebKitGtk
 1417------------
 1418AXRole: AXSection
 1419AXParent: AXWebArea
 1420AXChildren: 0
 1421AXPosition: { 0.000000, 0.000000 }
 1422AXSize: { 0.000000, 0.000000 }
 1423AXTitle:
 1424AXDescription:
 1425AXValue:
 1426AXFocusable: 0
 1427AXFocused: 0
 1428AXSelectable: 0
 1429AXSelected: 0
 1430AXMultiSelectable: 0
 1431AXEnabled: 1
 1432AXExpanded: 0
 1433AXRequired: 0
 1434AXChecked: 0
 1435AXPlatformAttributes: computed-role:group, xml-roles:doc-pullquote, tag:div, toolkit:WebKitGtk
 1436------------
 1437AXRole: AXSection
 1438AXParent: AXWebArea
 1439AXChildren: 0
 1440AXPosition: { 0.000000, 0.000000 }
 1441AXSize: { 0.000000, 0.000000 }
 1442AXTitle:
 1443AXDescription:
 1444AXValue:
 1445AXFocusable: 0
 1446AXFocused: 0
 1447AXSelectable: 0
 1448AXSelected: 0
 1449AXMultiSelectable: 0
 1450AXEnabled: 1
 1451AXExpanded: 0
 1452AXRequired: 0
 1453AXChecked: 0
 1454AXPlatformAttributes: computed-role:group, xml-roles:doc-qna, tag:div, toolkit:WebKitGtk
 1455------------
 1456AXRole: AXHeading
 1457AXParent: AXWebArea
 1458AXChildren: 0
 1459AXPosition: { 0.000000, 0.000000 }
 1460AXSize: { 0.000000, 0.000000 }
 1461AXTitle:
 1462AXDescription:
 1463AXValue:
 1464AXFocusable: 0
 1465AXFocused: 0
 1466AXSelectable: 0
 1467AXSelected: 0
 1468AXMultiSelectable: 0
 1469AXEnabled: 1
 1470AXExpanded: 0
 1471AXRequired: 0
 1472AXChecked: 0
 1473AXPlatformAttributes: computed-role:heading, xml-roles:doc-subtitle, level:2, tag:div, toolkit:WebKitGtk
 1474------------
 1475AXRole: AXComment
 1476AXParent: AXWebArea
 1477AXChildren: 0
 1478AXPosition: { 0.000000, 0.000000 }
 1479AXSize: { 0.000000, 0.000000 }
 1480AXTitle:
 1481AXDescription:
 1482AXValue:
 1483AXFocusable: 0
 1484AXFocused: 0
 1485AXSelectable: 0
 1486AXSelected: 0
 1487AXMultiSelectable: 0
 1488AXEnabled: 1
 1489AXExpanded: 0
 1490AXRequired: 0
 1491AXChecked: 0
 1492AXPlatformAttributes: computed-role:note, xml-roles:doc-tip, tag:div, toolkit:WebKitGtk
 1493------------
 1494AXRole: AXLandmarkRegion
 1495AXParent: AXWebArea
 1496AXChildren: 0
 1497AXPosition: { 0.000000, 0.000000 }
 1498AXSize: { 0.000000, 0.000000 }
 1499AXTitle:
 1500AXDescription:
 1501AXValue:
 1502AXFocusable: 0
 1503AXFocused: 0
 1504AXSelectable: 0
 1505AXSelected: 0
 1506AXMultiSelectable: 0
 1507AXEnabled: 1
 1508AXExpanded: 0
 1509AXRequired: 0
 1510AXChecked: 0
 1511AXPlatformAttributes: computed-role:navigation, xml-roles:doc-toc, tag:div, toolkit:WebKitGtk
 1512------------
7681513AXRole: AXParagraph
7691514AXParent: AXWebArea
7701515AXChildren: 2

LayoutTests/accessibility/gtk/xml-roles-exposed.html

4646 <div role="timer"></div>
4747 <div role="toolbar"></div>
4848 <div role="tooltip"></div>
 49 <div role="doc-abstract"></div>
 50 <div role="doc-acknowledgments"></div>
 51 <div role="doc-afterword"></div>
 52 <div role="doc-appendix"></div>
 53 <div role="doc-backlink"></div>
 54 <div role="doc-biblioentry"></div>
 55 <div role="doc-bibliography"></div>
 56 <div role="doc-biblioref"></div>
 57 <div role="doc-chapter"></div>
 58 <div role="doc-colophon"></div>
 59 <div role="doc-conclusion"></div>
 60 <div role="doc-cover"></div>
 61 <div role="doc-credit"></div>
 62 <div role="doc-credits"></div>
 63 <div role="doc-dedication"></div>
 64 <div role="doc-endnote"></div>
 65 <div role="doc-endnotes"></div>
 66 <div role="doc-epigraph"></div>
 67 <div role="doc-epilogue"></div>
 68 <div role="doc-errata"></div>
 69 <div role="doc-example"></div>
 70 <div role="doc-footnote"></div>
 71 <div role="doc-foreword"></div>
 72 <div role="doc-glossary"></div>
 73 <div role="doc-glossref"></div>
 74 <div role="doc-index"></div>
 75 <div role="doc-introduction"></div>
 76 <div role="doc-noteref"></div>
 77 <div role="doc-notice"></div>
 78 <div role="doc-pagebreak"></div>
 79 <div role="doc-pagelist"></div>
 80 <div role="doc-part"></div>
 81 <div role="doc-preface"></div>
 82 <div role="doc-prologue"></div>
 83 <div role="doc-pullquote"></div>
 84 <div role="doc-qna"></div>
 85 <div role="doc-subtitle"></div>
 86 <div role="doc-tip"></div>
 87 <div role="doc-toc"></div>
4988</div>
5089<p id="description"></p>
5190<div id="console"></div>

LayoutTests/accessibility/roles-exposed.html

142142</div>
143143<!-- skipped <menu> -->
144144<!-- skipped <meta> -->
145 <meter data-platform="atk,mac" class="ex" value="0.75">X</meter>
 145<!-- renable for atk after http://webkit.org/b/163383 fixed --><meter data-platform="mac" class="ex" value="0.75">X</meter>
146146<nav data-platform="atk,mac" class="ex">X</nav>
147147<!-- skipped <noscript> -->
148148<!-- skipped <object> -->

LayoutTests/inspector/dom/getAccessibilityPropertiesForNode-expected.txt

@@Total elements to be tested: 122.
425425<div role="doc-tip">doc-tip</div>
426426 exists: true
427427 label:
428  role: group
 428 role: note
429429 childNodeIds.length: 1
430430 parentNodeId: exists
431431

@@Total elements to be tested: 122.
482482<div role="doc-pagebreak">doc-pagebreak</div>
483483 exists: true
484484 label:
485  role: group
 485 role: separator
486486 childNodeIds.length: 1
487487 parentNodeId: exists
488488
489489<div role="doc-notice">doc-notice</div>
490490 exists: true
491491 label:
492  role: group
 492 role: note
493493 childNodeIds.length: 1
494494 parentNodeId: exists
495495

@@Total elements to be tested: 122.
580580<div role="doc-endnote">doc-endnote</div>
581581 exists: true
582582 label:
583  role: group
 583 role: listitem
584584 childNodeIds.length: 1
585585 parentNodeId: exists
586586

@@Total elements to be tested: 122.
649649<div role="doc-biblioentry">doc-biblioentry</div>
650650 exists: true
651651 label:
652  role: group
 652 role: listitem
653653 childNodeIds.length: 1
654654 parentNodeId: exists
655655

@@Total elements to be tested: 122.
684684<div role="doc-abstract">doc-abstract</div>
685685 exists: true
686686 label:
687  role: region
 687 role: group
688688 childNodeIds.length: 1
689689 parentNodeId: exists
690690

LayoutTests/platform/gtk/TestExpectations

@@webkit.org/b/163335 fast/loader/file-URL-with-port-number.html [ Timeout ]
33263326
33273327webkit.org/b/163383 accessibility/meter-element.html [ Failure ]
33283328webkit.org/b/163383 accessibility/roles-computedRoleString.html [ Failure ]
3329 webkit.org/b/163383 accessibility/roles-exposed.html [ Failure ]
33303329
33313330webkit.org/b/163512 media/media-controls-accessibility.html [ Failure ]
33323331webkit.org/b/163521 media/tab-focus-inside-media-elements.html [ Failure ]

LayoutTests/platform/gtk/accessibility/roles-exposed-expected.txt

@@mtr
319319mtd
320320 AXRole: AXCell
321321
322 meter
323  AXRole: AXProgressIndicator
324 
325322nav
326323 AXRole: AXLandmarkNavigation
327324

@@div[role=dialog]
526523div[role=directory]
527524 AXRole: AXList
528525
 526div[role=doc-abstract]
 527 AXRole: AXSection
 528
 529div[role=doc-acknowledgments]
 530 AXRole: AXLandmarkRegion
 531
 532div[role=doc-afterword]
 533 AXRole: AXLandmarkRegion
 534
 535div[role=doc-appendix]
 536 AXRole: AXLandmarkRegion
 537
 538div[role=doc-backlink]
 539 AXRole: AXLink
 540
 541div[role=doc-biblioentry]
 542 AXRole: AXListItem
 543
 544div[role=doc-bibliography]
 545 AXRole: AXLandmarkRegion
 546
 547div[role=doc-biblioref]
 548 AXRole: AXLink
 549
 550div[role=doc-chapter]
 551 AXRole: AXLandmarkRegion
 552
 553div[role=doc-colophon]
 554 AXRole: AXSection
 555
 556div[role=doc-conclusion]
 557 AXRole: AXLandmarkRegion
 558
 559div[role=doc-cover]
 560 AXRole: AXImage
 561
 562div[role=doc-credit]
 563 AXRole: AXSection
 564
 565div[role=doc-credits]
 566 AXRole: AXLandmarkRegion
 567
 568div[role=doc-dedication]
 569 AXRole: AXSection
 570
 571div[role=doc-endnote]
 572 AXRole: AXListItem
 573
 574div[role=doc-endnotes]
 575 AXRole: AXLandmarkRegion
 576
 577div[role=doc-epigraph]
 578 AXRole: AXSection
 579
 580div[role=doc-epilogue]
 581 AXRole: AXLandmarkRegion
 582
 583div[role=doc-errata]
 584 AXRole: AXLandmarkRegion
 585
 586div[role=doc-example]
 587 AXRole: AXSection
 588
 589div[role=doc-footnote]
 590 AXRole: AXSection
 591
 592div[role=doc-foreword]
 593 AXRole: AXLandmarkRegion
 594
 595div[role=doc-glossary]
 596 AXRole: AXLandmarkRegion
 597
 598div[role=doc-glossref]
 599 AXRole: AXLink
 600
 601div[role=doc-index]
 602 AXRole: AXLandmarkRegion
 603
 604div[role=doc-introduction]
 605 AXRole: AXLandmarkRegion
 606
 607div[role=doc-noteref]
 608 AXRole: AXLink
 609
 610div[role=doc-notice]
 611 AXRole: AXComment
 612
 613div[role=doc-pagebreak]
 614 AXRole: AXSeparator
 615
 616div[role=doc-pagelist]
 617 AXRole: AXLandmarkRegion
 618
 619div[role=doc-part]
 620 AXRole: AXLandmarkRegion
 621
 622div[role=doc-preface]
 623 AXRole: AXLandmarkRegion
 624
 625div[role=doc-prologue]
 626 AXRole: AXLandmarkRegion
 627
 628div[role=doc-pullquote]
 629 AXRole: AXSection
 630
 631div[role=doc-qna]
 632 AXRole: AXSection
 633
 634div[role=doc-subtitle]
 635 AXRole: AXHeading
 636
 637div[role=doc-tip]
 638 AXRole: AXComment
 639
 640div[role=doc-toc]
 641 AXRole: AXLandmarkRegion
 642
529643div[role=document]
530644 AXRole: AXDocument
531645

LayoutTests/platform/mac/accessibility/roles-exposed-expected.txt

@@div[role=directory]
876876
877877div[role=doc-abstract]
878878 AXRole: AXGroup
879  AXSubrole: AXLandmarkRegion
880  AXRoleDescription: region
 879 AXSubrole: AXApplicationGroup
 880 AXRoleDescription: group
881881
882882div[role=doc-acknowledgments]
883883 AXRole: AXGroup

@@div[role=doc-noteref]
10161016
10171017div[role=doc-notice]
10181018 AXRole: AXGroup
1019  AXSubrole: AXApplicationGroup
1020  AXRoleDescription: group
 1019 AXSubrole: AXDocumentNote
 1020 AXRoleDescription: note
10211021
10221022div[role=doc-pagebreak]
1023  AXRole: AXGroup
1024  AXSubrole: AXApplicationGroup
1025  AXRoleDescription: group
 1023 AXRole: AXSplitter
 1024 AXSubrole:
 1025 AXRoleDescription: splitter
10261026
10271027div[role=doc-pagelist]
10281028 AXRole: AXGroup

@@div[role=doc-subtitle]
10611061
10621062div[role=doc-tip]
10631063 AXRole: AXGroup
1064  AXSubrole: AXApplicationGroup
1065  AXRoleDescription: group
 1064 AXSubrole: AXDocumentNote
 1065 AXRoleDescription: note
10661066
10671067div[role=doc-toc]
10681068 AXRole: AXGroup