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 hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
clicking-interactive-content.html 36 / 36 passingChrome 36 / 360 failedClean
36 passing subtests
- interactive content <a href="about:blank" onclick="event.preventDefault()"></a> as first child of <label>
- interactive content <a href="about:blank" onclick="event.preventDefault()"></a> deeply nested under <label>
- interactive content <a href="about:blank" onclick="event.preventDefault()"></a> as second child under <label>
- interactive content <audio controls=""></audio> as first child of <label>
- interactive content <audio controls=""></audio> deeply nested under <label>
- interactive content <audio controls=""></audio> as second child under <label>
- interactive content <button></button> as first child of <label>
- interactive content <button></button> deeply nested under <label>
- interactive content <button></button> as second child under <label>
- interactive content <details></details> as first child of <label>
- interactive content <details></details> deeply nested under <label>
- interactive content <details></details> as second child under <label>
- interactive content <embed> as first child of <label>
- interactive content <embed> deeply nested under <label>
- interactive content <embed> as second child under <label>
- interactive content <iframe></iframe> as first child of <label>
- interactive content <iframe></iframe> deeply nested under <label>
- interactive content <iframe></iframe> as second child under <label>
- interactive content <img usemap=""> as first child of <label>
- interactive content <img usemap=""> deeply nested under <label>
- interactive content <img usemap=""> as second child under <label>
- interactive content <input> as first child of <label>
- interactive content <input> deeply nested under <label>
- interactive content <input> as second child under <label>
- interactive content <label>label</label> as first child of <label>
- interactive content <label>label</label> deeply nested under <label>
- interactive content <label>label</label> as second child under <label>
- interactive content <select></select> as first child of <label>
- interactive content <select></select> deeply nested under <label>
- interactive content <select></select> as second child under <label>
- interactive content <textarea></textarea> as first child of <label>
- interactive content <textarea></textarea> deeply nested under <label>
- interactive content <textarea></textarea> as second child under <label>
- interactive content <video controls=""></video> as first child of <label>
- interactive content <video controls=""></video> deeply nested under <label>
- interactive content <video controls=""></video> as second child under <label>
clicking-noninteractive-labelable-content.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- labelable element <meter></meter> as first child of <label>
- labelable element <meter></meter> deeply nested under <label>
- labelable element <meter></meter> as second child under <label>
- labelable element <output></output> as first child of <label>
- labelable element <output></output> deeply nested under <label>
- labelable element <output></output> as second child under <label>
- labelable element <progress></progress> as first child of <label>
- labelable element <progress></progress> deeply nested under <label>
- labelable element <progress></progress> as second child under <label>
clicking-noninteractive-unlabelable-content.html 48 / 51 passingChrome 51 / 513 failedWith failures
- ¶
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
- ¶
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
- ¶
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
- noninteractive unlabelable content <div></div> as first child of <label>
- noninteractive unlabelable content <div></div> deeply nested under <label>
- noninteractive unlabelable content <div></div> as second child under <label>
- noninteractive unlabelable content <svg></svg> as first child of <label>
- noninteractive unlabelable content <svg></svg> deeply nested under <label>
- noninteractive unlabelable content <svg></svg> as second child under <label>
- noninteractive unlabelable content <a></a> as first child of <label>
- noninteractive unlabelable content <a></a> deeply nested under <label>
- noninteractive unlabelable content <a></a> as second child under <label>
- noninteractive unlabelable content <audio></audio> as first child of <label>
- noninteractive unlabelable content <audio></audio> deeply nested under <label>
- noninteractive unlabelable content <audio></audio> as second child under <label>
- noninteractive unlabelable content <img> as first child of <label>
- noninteractive unlabelable content <img> deeply nested under <label>
- noninteractive unlabelable content <img> as second child under <label>
- noninteractive unlabelable content <input type="hidden"> as first child of <label>
- noninteractive unlabelable content <input type="hidden"> deeply nested under <label>
- noninteractive unlabelable content <video></video> as first child of <label>
- noninteractive unlabelable content <video></video> deeply nested under <label>
- noninteractive unlabelable content <video></video> as second child under <label>
- noninteractive unlabelable content <a tabindex=""></a> as first child of <label>
- noninteractive unlabelable content <a tabindex=""></a> deeply nested under <label>
- noninteractive unlabelable content <a tabindex=""></a> as second child under <label>
- noninteractive unlabelable content <audio tabindex=""></audio> as first child of <label>
- noninteractive unlabelable content <audio tabindex=""></audio> deeply nested under <label>
- noninteractive unlabelable content <audio tabindex=""></audio> as second child under <label>
- noninteractive unlabelable content <div tabindex=""></div> as first child of <label>
- noninteractive unlabelable content <div tabindex=""></div> deeply nested under <label>
- noninteractive unlabelable content <div tabindex=""></div> as second child under <label>
- noninteractive unlabelable content <img tabindex=""> as first child of <label>
- noninteractive unlabelable content <img tabindex=""> deeply nested under <label>
- noninteractive unlabelable content <img tabindex=""> as second child under <label>
- noninteractive unlabelable content <input type="hidden" tabindex=""> as first child of <label>
- noninteractive unlabelable content <input type="hidden" tabindex=""> deeply nested under <label>
- noninteractive unlabelable content <object></object> as first child of <label>
- noninteractive unlabelable content <object></object> deeply nested under <label>
- noninteractive unlabelable content <object></object> as second child under <label>
- noninteractive unlabelable content <object tabindex=""></object> as first child of <label>
- noninteractive unlabelable content <object tabindex=""></object> deeply nested under <label>
- noninteractive unlabelable content <object tabindex=""></object> as second child under <label>
- noninteractive unlabelable content <object usemap=""></object> as first child of <label>
- noninteractive unlabelable content <object usemap=""></object> deeply nested under <label>
- noninteractive unlabelable content <object usemap=""></object> as second child under <label>
- noninteractive unlabelable content <video tabindex=""></video> as first child of <label>
- noninteractive unlabelable content <video tabindex=""></video> deeply nested under <label>
- noninteractive unlabelable content <video tabindex=""></video> as second child under <label>
- noninteractive unlabelable content <details></details> as first child of <label>
- noninteractive unlabelable content <details></details> deeply nested under <label>
control-active-with-multiple-clicks.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Control should be :active on mousedown when clicking the label twice in succession.
disabled-labeled-control.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- A disabled text input remains its implicit label's control
- A disabled text input remains its explicit label's control
- A disabled checkbox input remains its implicit label's control
- A disabled checkbox input remains its explicit label's control
- clicking on a label should not cause a disabled child input to receive a click event
- clicking on a label should not cause a disabled input referenced in the 'for' attribute to receive a click event
- clicking on a label should not cause a disabled child checkbox to become checked
- clicking on a label should not cause a disabled checkbox referenced in the 'for' attribute to become checked
forward-focus-to-associated-element.html 6 / 6 passingChrome 0 / 60 failedClean
6 passing subtests
- focusing a label with for attribute should forward focus to the associated element
- focusing a label without for attribute should fowrad focus to the first labelable child
- focusing a label with tabindex should not forward focus to the labelable element
- focusing a label with negative tabindex should not forward focus to the labelable element
- focusing a label with empty tabindex should forward focus to the labelable element
- focusing a hidden label with tabindex should forward focus to the labelable element
label-attributes.sub.html 20 / 20 passingChrome 18 / 200 failedClean
20 passing subtests
- A label element with a 'for' attribute should only be associated with a labelable element.
- A label element not in a document can not label any element in the document.
- 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.
- The 'for' attribute points to an inexistent id.
- A non-control follows by a control with same ID.
- The 'for' attribute is an empty string.
- A form control has multiple labels.
- A labelable element is moved to outside of nested associated labels.
- A labelable element is moved to inside of nested associated labels.
- A labelable element which is a descendant of non-labelable element is moved to outside of associated label.
- A labelable element is moved to iframe.
- A div element which contains labelable element is removed.
- A labelable element not in a document can label element in the same tree.
- A labelable element inside the shadow DOM.
- A form control has an implicit label.
- A form control has no label 1.
- A form control has no label 2.
- A label in a form without a control
- A label outside a form with a control inside the form
- A label's htmlFor attribute must reflect the for content attribute
label-forwarded-click-pointer-properties.html 1 / 2 passingChrome 2 / 21 failedWith failures
- ¶
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
- Click forwarded from label.click() is not trusted
label-inside-anchor.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- click on inline element inside a label that's placed inside a anchor should trigger default label behavior
labelable-elements.html 26 / 26 passingChrome 26 / 260 failedClean
26 passing subtests
- Check if the output element is a labelable element
- Check if the output element can access 'labels'
- Check if the progress element is a labelable element
- Check if the progress element can access 'labels'
- Check if the select element is a labelable element
- Check if the select element can access 'labels'
- Check if the textarea element is a labelable form-element
- Check if the textarea element can access 'labels'
- Check if the button element is a labelable element
- Check if the button element can access 'labels'
- Check if the hidden input element is not a labelable element.
- Check if the hidden input element has null 'labels'
- Check if the input element in radio state is a labelable element
- Check if the input element in radio state can access 'labels'
- Check if the keygen element is not a labelable element
- Check if the keygen element can access 'labels'
- Check if the meter element is a labelable element
- Check if the meter element can access 'labels'
- Check if the fieldset element is not a labelable element
- Check if the fieldset element can access 'labels'
- Check if the label element is not a labelable element
- Check if the label element can access 'labels'
- Check if the object element is not a labelable element
- Check if the object element can access 'labels'
- Check if the img element is not a labelable element
- Check if the img element can access 'labels'
labels-live-attribute-changes.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- The labels NodeList stays live when label associations change.
labels-live-label-removal.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- A retained labels list updates when an explicit label's subtree is removed and reinserted
move-form-associated-element-into-label-crash.html none reportedChrome —0 failedClean
/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.html none reportedChrome —0 failedClean
/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.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- label with for attribute should proxy click events to the associated element
- label without for attribute should proxy click events to the first labelable child
- clicking a label that prevents the event's default should not proxy click events