Changeset 247435 in webkit
- Timestamp:
- Jul 15, 2019 11:03:04 AM (5 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r247431 r247435 1 2019-07-15 Greg Doolittle <gr3g@apple.com> 2 3 Web Inspector: AXI: Audit: Typos in Accessibility audits 4 https://bugs.webkit.org/show_bug.cgi?id=199716 5 <rdar://problem/52721711> 6 7 Reviewed by Devin Rousso. 8 9 * UserInterface/Controllers/AuditManager.js: 10 1 11 2019-07-15 Devin Rousso <drousso@apple.com> 2 12 -
trunk/Source/WebInspectorUI/UserInterface/Controllers/AuditManager.js
r247042 r247435 459 459 }; 460 460 461 const testMenuRoleForRequiredChi dren = function() {461 const testMenuRoleForRequiredChildren = function() { 462 462 const relationships = { 463 463 menu: ["menuitem", "menuitemcheckbox", "menuitemradio"], … … 499 499 }; 500 500 501 const testGridRoleForRequiredChi dren = function() {501 const testGridRoleForRequiredChildren = function() { 502 502 const relationships = { 503 503 grid: ["row", "rowgroup"], … … 557 557 }; 558 558 559 const testRowGroupRoleForRequiredChi dren = function() {559 const testRowGroupRoleForRequiredChildren = function() { 560 560 const relationships = { 561 561 rowgroup: ["row"], … … 596 596 }; 597 597 598 const testTableRoleForRequiredChi dren = function() {598 const testTableRoleForRequiredChildren = function() { 599 599 const relationships = { 600 600 table: ["row", "rowgroup"], … … 647 647 }; 648 648 649 const testListBoxRoleForRequiredChi dren = function() {649 const testListBoxRoleForRequiredChildren = function() { 650 650 const relationships = { 651 651 listbox: ["option"], … … 697 697 }; 698 698 699 const testTreeRoleForRequiredChi dren = function() {699 const testTreeRoleForRequiredChildren = function() { 700 700 const relationships = { 701 701 tree: ["treeitem", "group"], … … 736 736 }; 737 737 738 const testRadioGroupRoleForRequiredChi dren = function() {738 const testRadioGroupRoleForRequiredChildren = function() { 739 739 const relationships = { 740 740 radiogroup: ["radio"], … … 775 775 }; 776 776 777 const testFeedRoleForRequiredChi dren = function() {777 const testFeedRoleForRequiredChildren = function() { 778 778 const relationships = { 779 779 feed: ["article"], … … 814 814 }; 815 815 816 const testTabListRoleForRequiredChi dren = function() {816 const testTabListRoleForRequiredChildren = function() { 817 817 const relationships = { 818 818 tablist: ["tab"], … … 859 859 }; 860 860 861 const testRowRoleForRequiredChi dren = function() {861 const testRowRoleForRequiredChildren = function() { 862 862 const relationships = { 863 863 row: ["cell", "gridcell", "columnheader", "rowheader"], … … 898 898 }; 899 899 900 const testListRoleForRequiredChi dren = function() {900 const testListRoleForRequiredChildren = function() { 901 901 const relationships = { 902 902 list: ["listitem", "group"], … … 937 937 }; 938 938 939 const testComboBoxRoleForRequiredChi dren = function() {939 const testComboBoxRoleForRequiredChildren = function() { 940 940 const relationships = { 941 941 combobox: ["textbox", "listbox", "tree", "grid", "dialog"], … … 1039 1039 ], {description: WI.UIString("These tests serve as a demonstration of the functionality and structure of audits.")}), 1040 1040 new WI.AuditTestGroup(WI.UIString("Accessibility"), [ 1041 new WI.AuditTestCase("testMenuRoleForRequiredChi dren", removeWhitespace(testMenuRoleForRequiredChidren), {description: WI.UIString("Ensure that element of role \u0022%s\u0022 and \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("menu"), WI.unlocalizedString("menubar")), supports: 1}),1042 new WI.AuditTestCase("testGridRoleForRequiredChi dren", removeWhitespace(testGridRoleForRequiredChidren), {description: WI.UIString("Ensure that elements of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("grid")), supports: 1}),1041 new WI.AuditTestCase("testMenuRoleForRequiredChildren", removeWhitespace(testMenuRoleForRequiredChildren), {description: WI.UIString("Ensure that element of role \u0022%s\u0022 and \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("menu"), WI.unlocalizedString("menubar")), supports: 1}), 1042 new WI.AuditTestCase("testGridRoleForRequiredChildren", removeWhitespace(testGridRoleForRequiredChildren), {description: WI.UIString("Ensure that elements of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("grid")), supports: 1}), 1043 1043 new WI.AuditTestCase("testForAriaLabelledBySpelling", removeWhitespace(testForAriaLabelledBySpelling), {description: WI.UIString("Ensure that \u0022%s\u0022 is spelled correctly.").format(WI.unlocalizedString("aria-labelledby")), supports: 1}), 1044 1044 new WI.AuditTestCase("testForMultipleBanners", removeWhitespace(testForMultipleBanners), {description: WI.UIString("Ensure that only one banner is used on the page."), supports: 1}), 1045 1045 new WI.AuditTestCase("testForLinkLabels", removeWhitespace(testForLinkLabels), {description: WI.UIString("Ensure that links have accessible labels for assistive technology."), supports: 1}), 1046 new WI.AuditTestCase("testRowGroupRoleForRequiredChi dren", removeWhitespace(testRowGroupRoleForRequiredChidren), {description: WI.UIString("Ensure that element of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("rowgroup")), supports: 1}),1047 new WI.AuditTestCase("testTableRoleForRequiredChi dren", removeWhitespace(testTableRoleForRequiredChidren), {description: WI.UIString("Ensure that elements of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("table")), supports: 1}),1046 new WI.AuditTestCase("testRowGroupRoleForRequiredChildren", removeWhitespace(testRowGroupRoleForRequiredChildren), {description: WI.UIString("Ensure that element of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("rowgroup")), supports: 1}), 1047 new WI.AuditTestCase("testTableRoleForRequiredChildren", removeWhitespace(testTableRoleForRequiredChildren), {description: WI.UIString("Ensure that elements of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("table")), supports: 1}), 1048 1048 new WI.AuditTestCase("testForMultipleLiveRegions", removeWhitespace(testForMultipleLiveRegions), {description: WI.UIString("Ensure that only one live region is used on the page."), supports: 1}), 1049 new WI.AuditTestCase("testListBoxRoleForRequiredChi dren", removeWhitespace(testListBoxRoleForRequiredChidren), {description: WI.UIString("Ensure that elements of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("listbox")), supports: 1}),1049 new WI.AuditTestCase("testListBoxRoleForRequiredChildren", removeWhitespace(testListBoxRoleForRequiredChildren), {description: WI.UIString("Ensure that elements of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("listbox")), supports: 1}), 1050 1050 new WI.AuditTestCase("testImageLabels", removeWhitespace(testImageLabels), {description: WI.UIString("Ensure that elements of role \u0022%s\u0022 have accessible labels for assistive technology.").format(WI.unlocalizedString("img")), supports: 1}), 1051 1051 new WI.AuditTestCase("testForAriaHiddenFalse", removeWhitespace(testForAriaHiddenFalse), {description: WI.UIString("Ensure aria-hidden=\u0022%s\u0022 is not used.").format(WI.unlocalizedString("false")), supports: 1}), 1052 new WI.AuditTestCase("testTreeRoleForRequiredChi dren", removeWhitespace(testTreeRoleForRequiredChidren), {description: WI.UIString("Ensure that element of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("tree")), supports: 1}),1053 new WI.AuditTestCase("testRadioGroupRoleForRequiredChi dren", removeWhitespace(testRadioGroupRoleForRequiredChidren), {description: WI.UIString("Ensure that element of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("radiogroup")), supports: 1}),1054 new WI.AuditTestCase("testFeedRoleForRequiredChi dren", removeWhitespace(testFeedRoleForRequiredChidren), {description: WI.UIString("Ensure that elements of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("feed")), supports: 1}),1055 new WI.AuditTestCase("testTabListRoleForRequiredChi dren", removeWhitespace(testTabListRoleForRequiredChidren), {description: WI.UIString("Ensure that element of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("tablist")), supports: 1}),1052 new WI.AuditTestCase("testTreeRoleForRequiredChildren", removeWhitespace(testTreeRoleForRequiredChildren), {description: WI.UIString("Ensure that element of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("tree")), supports: 1}), 1053 new WI.AuditTestCase("testRadioGroupRoleForRequiredChildren", removeWhitespace(testRadioGroupRoleForRequiredChildren), {description: WI.UIString("Ensure that element of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("radiogroup")), supports: 1}), 1054 new WI.AuditTestCase("testFeedRoleForRequiredChildren", removeWhitespace(testFeedRoleForRequiredChildren), {description: WI.UIString("Ensure that elements of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("feed")), supports: 1}), 1055 new WI.AuditTestCase("testTabListRoleForRequiredChildren", removeWhitespace(testTabListRoleForRequiredChildren), {description: WI.UIString("Ensure that element of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("tablist")), supports: 1}), 1056 1056 new WI.AuditTestCase("testButtonLabels", removeWhitespace(testButtonLabels), {description: WI.UIString("Ensure that buttons have accessible labels for assistive technology."), supports: 1}), 1057 new WI.AuditTestCase("testRowRoleForRequiredChi dren", removeWhitespace(testRowRoleForRequiredChidren), {description: WI.UIString("Ensure that elements of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("row")), supports: 1}),1058 new WI.AuditTestCase("testListRoleForRequiredChi dren", removeWhitespace(testListRoleForRequiredChidren), {description: WI.UIString("Ensure that elements of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("list")), supports: 1}),1059 new WI.AuditTestCase("testComboBoxRoleForRequiredChi dren", removeWhitespace(testComboBoxRoleForRequiredChidren), {description: WI.UIString("Ensure that elements of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("combobox")), supports: 1}),1057 new WI.AuditTestCase("testRowRoleForRequiredChildren", removeWhitespace(testRowRoleForRequiredChildren), {description: WI.UIString("Ensure that elements of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("row")), supports: 1}), 1058 new WI.AuditTestCase("testListRoleForRequiredChildren", removeWhitespace(testListRoleForRequiredChildren), {description: WI.UIString("Ensure that elements of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("list")), supports: 1}), 1059 new WI.AuditTestCase("testComboBoxRoleForRequiredChildren", removeWhitespace(testComboBoxRoleForRequiredChildren), {description: WI.UIString("Ensure that elements of role \u0022%s\u0022 have required owned elements in accordance with WAI-ARIA.").format(WI.unlocalizedString("combobox")), supports: 1}), 1060 1060 new WI.AuditTestCase("testForMultipleMainContentSections", removeWhitespace(testForMultipleMainContentSections), {description: WI.UIString("Ensure that only one main content section is used on the page."), supports: 1}), 1061 1061 new WI.AuditTestCase("testDialogsForLabels", removeWhitespace(testDialogsForLabels), {description: WI.UIString("Ensure that dialogs have accessible labels for assistive technology."), supports: 1}),
Note: See TracChangeset
for help on using the changeset viewer.