- commit
- df71d4a90daaf0c9e9594788275fadf8440260cd
- parent
- 8201a5e538ce6f9c4678ee2f960f6d2bab6818a5
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-06-21 18:55
wpt: update known fails
Diffstat
| M | test/test-wpt.js | 67 | ++++++++++++++++++++++++++++++++++++++++++++++++++++--------- |
1 files changed, 57 insertions, 10 deletions
diff --git a/test/test-wpt.js b/test/test-wpt.js
@@ -11,11 +11,16 @@ describe('wpt', () => {
11 11 var testbed = document.createElement('div');
12 12 var known_failing = [
13 13 // whitespace
14 -1 'Name test case 660',
15 14 'Name test case 659',
-1 15 'Name test case 660',
-1 16 'span[role=button] with text/element/text nodes, no space',
-1 17 'div[role=heading] with text/element/text nodes, no space',
-1 18 'button with text/element/text nodes, no space',
-1 19 'heading with text/element/text nodes, no space',
-1 20 'link with text/element/text nodes, no space',
16 21
17 -1 'el-form', // <form> should always have the role form, but only be exposed as a landmark if it also has a name
18 -1 'el-th', // incomplete selectors for columnheader
-1 22 // incomplete selectors for columnheader
-1 23 'el-th',
19 24
20 25 // name required
21 26 'fallback role w/ region with no label',
@@ -29,15 +34,57 @@ describe('wpt', () => {
29 34 'p role none with global attr aria-label (prohibited role)',
30 35
31 36 // required parents
32 -1 'orphaned columnheader outside the context of row',
33 -1 'orphaned rowheader outside the context of row',
34 -1 'orphaned gridcell outside the context of row',
-1 37 'orphan p with listitem role',
-1 38 'orphan div with listitem role',
-1 39 'orphan button with tab role',
-1 40 'orphan span with tab role',
-1 41 'orphaned treeitem outside the context of tree',
-1 42 'orphaned button with treeitem role outside tree context',
35 43 'orphaned option outside the context of listbox',
-1 44 'orphaned button with gridcell role outside the context of row',
-1 45 'orphaned row outside the context of table',
-1 46 'orphaned rowgroup outside the context of row',
-1 47 'orphaned div with gridcell role outside the context of row',
-1 48 'orphaned rowheader outside the context of row',
-1 49 'orphaned columnheader outside the context of row',
-1 50 'orphaned menuitem outside the context of menu/menubar',
-1 51 'orphaned menuitemradio outside the context of menu/menubar',
-1 52 'orphaned menuitemcheckbox outside the context of menu/menubar',
-1 53 'orphan button with menuitem role',
-1 54 'orphan button with menuitemcheckbox role',
-1 55 'orphan button with menuitemradio role',
-1 56 'orphan div with menuitem role',
-1 57 'orphan div with menuitemcheckbox role',
-1 58 'orphan div with menuitemradio role',
-1 59
-1 60 // browsers do not support attr() in content fallback
-1 61 'button name from fallback content mixing attr() and strings with ::before and ::after',
-1 62 'heading name from fallback content mixing attr() and strings with ::before and ::after',
-1 63 'link name from fallback content mixing attr() and strings with ::before and ::after',
-1 64
-1 65 // visibility
-1 66 'heading with name from content, containing element that is visibility:hidden with nested content that is visibility:visible',
-1 67 'button with aria-labelledby using visibility:hidden span (with nested span)',
-1 68 'button with aria-labelledby using visibility:hidden span (with nested spans, depth 2)',
-1 69 'button with aria-labelledby using visibility:hidden hidden span (with nested sibling spans)',
-1 70 'button with aria-labelledby using visibility:collapse span (with nested span)',
-1 71 'button with aria-labelledby using visibility:collapse span (with nested spans, depth 2)',
-1 72 'button with aria-labelledby using visibility:collapse span (with nested sibling spans)',
-1 73
-1 74 // weird combobox
-1 75 'checkbox label with embedded combobox (span)',
-1 76 'checkbox label with embedded combobox (div)',
-1 77
-1 78 // hidden not directly referenced
-1 79 'button\'s hidden referenced name (display:none) supercedes aria-label',
-1 80 'button\'s hidden referenced name (visibility:hidden) supercedes aria-label',
36 81
37 -1 // complicated generic selectors
38 -1 'el-aside-in-section-without-name',
39 -1 'el-footer',
40 -1 'el-header',
-1 82 'Name from content of labelledby element',
-1 83 'Name from content',
-1 84 'Name link-mixed-content',
-1 85 'Description from content of describedby element',
-1 86 'Name from content of label',
-1 87 'Hidden button\'s label should be the empty string',
41 88 ];
42 89
43 90 var withId = function(element, fn) {