Changeset 206921 in webkit
- Timestamp:
- Oct 7, 2016 10:44:51 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r206919 r206921 1 2016-10-07 Nan Wang <n_wang@apple.com> 2 3 AX: AXRoleDescription for details and summary elements 4 https://bugs.webkit.org/show_bug.cgi?id=163094 5 6 Reviewed by Chris Fleizach. 7 8 * accessibility/mac/details-summary-role-description-expected.txt: Added. 9 * accessibility/mac/details-summary-role-description.html: Added. 10 1 11 2016-10-07 Ryan Haddad <ryanhaddad@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r206920 r206921 1 2016-10-07 Nan Wang <n_wang@apple.com> 2 3 AX: AXRoleDescription for details and summary elements 4 https://bugs.webkit.org/show_bug.cgi?id=163094 5 6 Reviewed by Chris Fleizach. 7 8 details and summary elements should have AXRoleDescription that is consistent with other 9 elements that have custom AXSubRole. 10 11 Test: accessibility/mac/details-summary-role-description.html 12 13 * English.lproj/Localizable.strings: 14 * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: 15 (-[WebAccessibilityObjectWrapper roleDescription]): 16 * platform/LocalizedStrings.cpp: 17 (WebCore::AXDetailsText): 18 (WebCore::AXSummaryText): 19 * platform/LocalizedStrings.h: 20 * platform/efl/LocalizedStringsEfl.cpp: 21 (WebCore::AXDetailsText): 22 (WebCore::AXSummaryText): 23 * platform/gtk/LocalizedStringsGtk.cpp: 24 (WebCore::AXDetailsText): 25 (WebCore::AXSummaryText): 26 1 27 2016-10-07 Ryan Haddad <ryanhaddad@apple.com> 2 28 -
trunk/Source/WebCore/English.lproj/Localizable.strings
r205184 r206921 812 812 "description list" = "description list"; 813 813 814 /* accessibility role description for a details element */ 815 "details" = "details"; 816 814 817 /* An ARIA accessibility group that acts as a document. */ 815 818 "document" = "document"; … … 1067 1070 "success" = "success"; 1068 1071 1072 /* accessibility role description for a summary element */ 1073 "summary" = "summary"; 1074 1069 1075 /* HTTP result code string */ 1070 1076 "switching protocols" = "switching protocols"; -
trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm
r205985 r206921 2488 2488 case DescriptionListDetailRole: 2489 2489 return AXDescriptionListDetailText(); 2490 case DetailsRole: 2491 return AXDetailsText(); 2490 2492 case FooterRole: 2491 2493 return AXFooterRoleDescriptionText(); 2494 case SummaryRole: 2495 return AXSummaryText(); 2492 2496 case VideoRole: 2493 2497 return localizedMediaControlElementString("VideoElement"); -
trunk/Source/WebCore/platform/LocalizedStrings.cpp
r205524 r206921 604 604 { 605 605 return WEB_UI_STRING("description", "description detail"); 606 } 607 608 String AXDetailsText() 609 { 610 return WEB_UI_STRING("details", "accessibility role description for a details element"); 611 } 612 613 String AXSummaryText() 614 { 615 return WEB_UI_STRING("summary", "accessibility role description for a summary element"); 606 616 } 607 617 -
trunk/Source/WebCore/platform/LocalizedStrings.h
r205524 r206921 169 169 String AXSearchFieldCancelButtonText(); 170 170 String AXAttachmentRoleText(); 171 String AXDetailsText(); 172 String AXSummaryText(); 171 173 172 174 String AXButtonActionVerb(); -
trunk/Source/WebCore/platform/efl/LocalizedStringsEfl.cpp
r205524 r206921 397 397 { 398 398 return String::fromUTF8("description"); 399 } 400 401 String AXDetailsText() 402 { 403 return String::fromUTF8("details"); 404 } 405 406 String AXSummaryText() 407 { 408 return String::fromUTF8("summary"); 399 409 } 400 410 -
trunk/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp
r205524 r206921 445 445 { 446 446 return String::fromUTF8(_("description")); 447 } 448 449 String AXDetailsText() 450 { 451 return String::fromUTF8(_("details")); 452 } 453 454 String AXSummaryText() 455 { 456 return String::fromUTF8(_("summary")); 447 457 } 448 458
Note: See TracChangeset
for help on using the changeset viewer.