html/semantics/forms/the-label-element/

161 / 165 WPT subtests passing

Failed
4
Timed out
0
Not run
0
Test files
15
Blocking files
0

Chrome 157 / 165 WPT subtests passing on the same files, 1 blocking, 2 without a result

Tests

15 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
clicking-interactive-content.html36 / 36 passingChrome 36 / 360 failedClean
Standing
Clean runner status OK
Chrome
Clean 36 / 36 WPT subtests passing runner status OK
36 passing subtests
  1. interactive content <a href="about:blank" onclick="event.preventDefault()"></a> as first child of <label>
  2. interactive content <a href="about:blank" onclick="event.preventDefault()"></a> deeply nested under <label>
  3. interactive content <a href="about:blank" onclick="event.preventDefault()"></a> as second child under <label>
  4. interactive content <audio controls=""></audio> as first child of <label>
  5. interactive content <audio controls=""></audio> deeply nested under <label>
  6. interactive content <audio controls=""></audio> as second child under <label>
  7. interactive content <button></button> as first child of <label>
  8. interactive content <button></button> deeply nested under <label>
  9. interactive content <button></button> as second child under <label>
  10. interactive content <details></details> as first child of <label>
  11. interactive content <details></details> deeply nested under <label>
  12. interactive content <details></details> as second child under <label>
  13. interactive content <embed> as first child of <label>
  14. interactive content <embed> deeply nested under <label>
  15. interactive content <embed> as second child under <label>
  16. interactive content <iframe></iframe> as first child of <label>
  17. interactive content <iframe></iframe> deeply nested under <label>
  18. interactive content <iframe></iframe> as second child under <label>
  19. interactive content <img usemap=""> as first child of <label>
  20. interactive content <img usemap=""> deeply nested under <label>
  21. interactive content <img usemap=""> as second child under <label>
  22. interactive content <input> as first child of <label>
  23. interactive content <input> deeply nested under <label>
  24. interactive content <input> as second child under <label>
  25. interactive content <label>label</label> as first child of <label>
  26. interactive content <label>label</label> deeply nested under <label>
  27. interactive content <label>label</label> as second child under <label>
  28. interactive content <select></select> as first child of <label>
  29. interactive content <select></select> deeply nested under <label>
  30. interactive content <select></select> as second child under <label>
  31. interactive content <textarea></textarea> as first child of <label>
  32. interactive content <textarea></textarea> deeply nested under <label>
  33. interactive content <textarea></textarea> as second child under <label>
  34. interactive content <video controls=""></video> as first child of <label>
  35. interactive content <video controls=""></video> deeply nested under <label>
  36. interactive content <video controls=""></video> as second child under <label>
clicking-noninteractive-labelable-content.html9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. labelable element <meter></meter> as first child of <label>
  2. labelable element <meter></meter> deeply nested under <label>
  3. labelable element <meter></meter> as second child under <label>
  4. labelable element <output></output> as first child of <label>
  5. labelable element <output></output> deeply nested under <label>
  6. labelable element <output></output> as second child under <label>
  7. labelable element <progress></progress> as first child of <label>
  8. labelable element <progress></progress> deeply nested under <label>
  9. labelable element <progress></progress> as second child under <label>
clicking-noninteractive-unlabelable-content.html48 / 51 passingChrome 51 / 513 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 51 / 51 WPT subtests passing runner status OK
  1. FAILnoninteractive unlabelable content <input type="hidden"> as second child under <label>
    assert_equals: clicking noninteractive unlabelable content should click button expected 1 but got 0
  2. FAILnoninteractive unlabelable content <input type="hidden" tabindex=""> as second child under <label>
    assert_equals: clicking noninteractive unlabelable content should click button expected 1 but got 0
  3. FAILnoninteractive unlabelable content <details></details> as second child under <label>
    assert_equals: clicking noninteractive unlabelable content should click button expected 1 but got 0
48 passing subtests
  1. noninteractive unlabelable content <div></div> as first child of <label>
  2. noninteractive unlabelable content <div></div> deeply nested under <label>
  3. noninteractive unlabelable content <div></div> as second child under <label>
  4. noninteractive unlabelable content <svg></svg> as first child of <label>
  5. noninteractive unlabelable content <svg></svg> deeply nested under <label>
  6. noninteractive unlabelable content <svg></svg> as second child under <label>
  7. noninteractive unlabelable content <a></a> as first child of <label>
  8. noninteractive unlabelable content <a></a> deeply nested under <label>
  9. noninteractive unlabelable content <a></a> as second child under <label>
  10. noninteractive unlabelable content <audio></audio> as first child of <label>
  11. noninteractive unlabelable content <audio></audio> deeply nested under <label>
  12. noninteractive unlabelable content <audio></audio> as second child under <label>
  13. noninteractive unlabelable content <img> as first child of <label>
  14. noninteractive unlabelable content <img> deeply nested under <label>
  15. noninteractive unlabelable content <img> as second child under <label>
  16. noninteractive unlabelable content <input type="hidden"> as first child of <label>
  17. noninteractive unlabelable content <input type="hidden"> deeply nested under <label>
  18. noninteractive unlabelable content <video></video> as first child of <label>
  19. noninteractive unlabelable content <video></video> deeply nested under <label>
  20. noninteractive unlabelable content <video></video> as second child under <label>
  21. noninteractive unlabelable content <a tabindex=""></a> as first child of <label>
  22. noninteractive unlabelable content <a tabindex=""></a> deeply nested under <label>
  23. noninteractive unlabelable content <a tabindex=""></a> as second child under <label>
  24. noninteractive unlabelable content <audio tabindex=""></audio> as first child of <label>
  25. noninteractive unlabelable content <audio tabindex=""></audio> deeply nested under <label>
  26. noninteractive unlabelable content <audio tabindex=""></audio> as second child under <label>
  27. noninteractive unlabelable content <div tabindex=""></div> as first child of <label>
  28. noninteractive unlabelable content <div tabindex=""></div> deeply nested under <label>
  29. noninteractive unlabelable content <div tabindex=""></div> as second child under <label>
  30. noninteractive unlabelable content <img tabindex=""> as first child of <label>
  31. noninteractive unlabelable content <img tabindex=""> deeply nested under <label>
  32. noninteractive unlabelable content <img tabindex=""> as second child under <label>
  33. noninteractive unlabelable content <input type="hidden" tabindex=""> as first child of <label>
  34. noninteractive unlabelable content <input type="hidden" tabindex=""> deeply nested under <label>
  35. noninteractive unlabelable content <object></object> as first child of <label>
  36. noninteractive unlabelable content <object></object> deeply nested under <label>
  37. noninteractive unlabelable content <object></object> as second child under <label>
  38. noninteractive unlabelable content <object tabindex=""></object> as first child of <label>
  39. noninteractive unlabelable content <object tabindex=""></object> deeply nested under <label>
  40. noninteractive unlabelable content <object tabindex=""></object> as second child under <label>
  41. noninteractive unlabelable content <object usemap=""></object> as first child of <label>
  42. noninteractive unlabelable content <object usemap=""></object> deeply nested under <label>
  43. noninteractive unlabelable content <object usemap=""></object> as second child under <label>
  44. noninteractive unlabelable content <video tabindex=""></video> as first child of <label>
  45. noninteractive unlabelable content <video tabindex=""></video> deeply nested under <label>
  46. noninteractive unlabelable content <video tabindex=""></video> as second child under <label>
  47. noninteractive unlabelable content <details></details> as first child of <label>
  48. noninteractive unlabelable content <details></details> deeply nested under <label>
control-active-with-multiple-clicks.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Control should be :active on mousedown when clicking the label twice in succession.
disabled-labeled-control.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. A disabled text input remains its implicit label's control
  2. A disabled text input remains its explicit label's control
  3. A disabled checkbox input remains its implicit label's control
  4. A disabled checkbox input remains its explicit label's control
  5. clicking on a label should not cause a disabled child input to receive a click event
  6. clicking on a label should not cause a disabled input referenced in the 'for' attribute to receive a click event
  7. clicking on a label should not cause a disabled child checkbox to become checked
  8. clicking on a label should not cause a disabled checkbox referenced in the 'for' attribute to become checked
forward-focus-to-associated-element.html6 / 6 passingChrome 0 / 60 failedClean
Standing
Clean runner status OK
Chrome
TIMEOUT 0 / 6 WPT subtests passing runner status TIMEOUT
6 passing subtests
  1. focusing a label with for attribute should forward focus to the associated element
  2. focusing a label without for attribute should fowrad focus to the first labelable child
  3. focusing a label with tabindex should not forward focus to the labelable element
  4. focusing a label with negative tabindex should not forward focus to the labelable element
  5. focusing a label with empty tabindex should forward focus to the labelable element
  6. focusing a hidden label with tabindex should forward focus to the labelable element
label-attributes.sub.html20 / 20 passingChrome 18 / 200 failedClean
Standing
Clean runner status OK
Chrome
With failures 18 / 20 WPT subtests passing runner status OK
20 passing subtests
  1. A label element with a 'for' attribute should only be associated with a labelable element.
  2. A label element not in a document can not label any element in the document.
  3. The labeled control for a label element that has no 'for' attribute is the first labelable element which is a descendant of that label element.
  4. The 'for' attribute points to an inexistent id.
  5. A non-control follows by a control with same ID.
  6. The 'for' attribute is an empty string.
  7. A form control has multiple labels.
  8. A labelable element is moved to outside of nested associated labels.
  9. A labelable element is moved to inside of nested associated labels.
  10. A labelable element which is a descendant of non-labelable element is moved to outside of associated label.
  11. A labelable element is moved to iframe.
  12. A div element which contains labelable element is removed.
  13. A labelable element not in a document can label element in the same tree.
  14. A labelable element inside the shadow DOM.
  15. A form control has an implicit label.
  16. A form control has no label 1.
  17. A form control has no label 2.
  18. A label in a form without a control
  19. A label outside a form with a control inside the form
  20. A label's htmlFor attribute must reflect the for content attribute
label-forwarded-click-pointer-properties.html1 / 2 passingChrome 2 / 21 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
  1. FAILClick forwarded from label to control preserves pointer metadata
    assert_true: forwarded control click should be trusted for real user input expected true got false
1 passing subtest
  1. Click forwarded from label.click() is not trusted
label-inside-anchor.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. click on inline element inside a label that's placed inside a anchor should trigger default label behavior
labelable-elements.html26 / 26 passingChrome 26 / 260 failedClean
Standing
Clean runner status OK
Chrome
Clean 26 / 26 WPT subtests passing runner status OK
26 passing subtests
  1. Check if the output element is a labelable element
  2. Check if the output element can access 'labels'
  3. Check if the progress element is a labelable element
  4. Check if the progress element can access 'labels'
  5. Check if the select element is a labelable element
  6. Check if the select element can access 'labels'
  7. Check if the textarea element is a labelable form-element
  8. Check if the textarea element can access 'labels'
  9. Check if the button element is a labelable element
  10. Check if the button element can access 'labels'
  11. Check if the hidden input element is not a labelable element.
  12. Check if the hidden input element has null 'labels'
  13. Check if the input element in radio state is a labelable element
  14. Check if the input element in radio state can access 'labels'
  15. Check if the keygen element is not a labelable element
  16. Check if the keygen element can access 'labels'
  17. Check if the meter element is a labelable element
  18. Check if the meter element can access 'labels'
  19. Check if the fieldset element is not a labelable element
  20. Check if the fieldset element can access 'labels'
  21. Check if the label element is not a labelable element
  22. Check if the label element can access 'labels'
  23. Check if the object element is not a labelable element
  24. Check if the object element can access 'labels'
  25. Check if the img element is not a labelable element
  26. Check if the img element can access 'labels'
labels-live-attribute-changes.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. The labels NodeList stays live when label associations change.
labels-live-label-removal.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. A retained labels list updates when an explicit label's subtree is removed and reinserted
move-form-associated-element-into-label-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/forms/the-label-element/move-form-associated-element-into-label-crash.html PASS none reported

No subtests were reported.

move-label-into-form-and-then-move-form-into-ancestor-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/semantics/forms/the-label-element/move-label-into-form-and-then-move-form-into-ancestor-crash.html PASS none reported

No subtests were reported.

proxy-click-to-associated-element.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. label with for attribute should proxy click events to the associated element
  2. label without for attribute should proxy click events to the first labelable child
  3. clicking a label that prevents the event's default should not proxy click events

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.