5.1accname/name/
458 / 472 WPT subtests passing
- Failed
- 14
- Timed out
- 0
- Not run
- 0
- Test files
- 15
- Blocking files
- 0
Chrome 464 / 466 WPT subtests passing on the same files, none blocking, 2 without a result
Tests
1 directory, 13 test files here| Directory | Subtests passing | Chrome | Test files | Standing |
|---|---|---|---|---|
shadowdom/ | 6 / 6 | 6 / 6 | 2 | none blocking |
Each test file opens in place to its subtests, and each subtest that did not pass to its message.
comp_embedded_control.html 29 / 29 passingChrome 29 / 290 failedClean
29 passing subtests
- checkbox label with embedded textfield
- label of embedded textfield inside checkbox label
- checkbox label with embedded select:not([size])
- label of embedded select:not([size]) inside checkbox label
- checkbox label with embedded select[size]
- label of embedded select[size] inside checkbox label
- checkbox label with embedded combobox (input[type=text])
- label of embedded combobox (input[type=text]) inside checkbox label
- checkbox label with embedded combobox (span)
- label of embedded combobox (span) inside checkbox label
- checkbox label with embedded combobox (div)
- label of embedded combobox (div) inside checkbox label
- checkbox label with embedded listbox>option[aria-selected=true]
- label of embedded listbox>option[aria-selected=true] inside checkbox label
- checkbox label with embedded input[type=range]
- label of embedded input[type=range] inside checkbox label
- checkbox label with embedded input[type=number]
- label of embedded input[type=number] inside checkbox label
- checkbox label with embedded ARIA slider (aria-valuenow)
- label of embedded ARIA slider (aria-valuenow) inside checkbox label
- checkbox label with embedded ARIA slider (aria-valuetext)
- label of embedded ARIA slider (aria-valuetext) inside checkbox label
- checkbox label with embedded ARIA spinbutton (aria-valuenow)
- label of embedded ARIA spinbutton (aria-valuenow) inside checkbox label
- checkbox label with embedded ARIA spinbutton (aria-valuetext)
- label of embedded ARIA spinbutton (aria-valuetext) inside checkbox label
- button aria-labelledby referencing checkbox labelled via label element
- button aria-labelledby referencing checkbox labelled via aria-label
- button aria-labelledby referencing radio button labelled via label element
comp_host_language_label.html 88 / 88 passingChrome 88 / 880 failedClean
88 passing subtests
- html: input[type=button]
- html: input[type=image]
- html: input[type=reset]
- html: input[type=submit]
- html: label[for] input[type=checkbox]
- html: label[for] input[type=checkbox][value='test']
- html: label[for] input[type=checkbox][checked]
- html: label[for] input[type=checkbox][checked][value='test']
- html: label[for] input[type=color]
- html: label[for] input[type=color][value='#999999']
- html: label[for] input[type=date]
- html: label[for] input[type=date][value='2025-01-01']
- html: label[for] input[type=datetime-local]
- html: label[for] input[type=datetime-local][value='2025-01-01T00:01']
- html: label[for] input[type=email]
- html: label[for] input[type=email][value='test@test.com']
- html: label[for] input[type=month]
- html: label[for] input[type=month][value='2025-01']
- html: label[for] input[type=number]
- html: label[for] input[type=number][value=2025]
- html: label[for] input[type=password]
- html: label[for] input[type=password][value='test']
- html: label[for] input[type=radio]
- html: label[for] input[type=radio][value='test']
- html: label[for] input[type=range]
- html: label[for] input[type=range][min=0][max=10][value=5]
- html: label[for] input[type=search]
- html: label[for] input[type=search][value='test']
- html: label[for] input[type=tel]
- html: label[for] input[type=tel][value='123-45-678']
- html: label[for] input[type=text]
- html: label[for] input[type=text][value='test']
- html: label[for] input[type=time]
- html: label[for] input[type=time][value='00:01']
- html: label[for] input[type=url]
- html: label[for] input[type=url][value='https://www.w3.org']
- html: label[for] input[type=week]
- html: label[for] input[type=week][value='2025-W01']
- html: label input[type=checkbox] encapsulation
- html: label input[type=checkbox][value='test'] encapsulation
- html: label input[type=checkbox][checked] encapsulation
- html: label input[type=checkbox][value='test'][checked] encapsulation
- html: label input[type=color] encapsulation
- html: label input[type=color][value='#999999'] encapsulation
- html: label input[type=date] encapsulation
- html: label input[type=date][value='2025-01-01'] encapsulation
- html: label input[type=datetime-local] encapsulation
- html: label input[type=datetime-local][value='2025-01-01T00:01'] encapsulation
- html: label input[type=email] encapsulation
- html: label input[type=email][value='test@test.com'] encapsulation
- html: label input[type=month] encapsulation
- html: label input[type=month][value='2025-01'] encapsulation
- html: label input[type=number] encapsulation
- html: label input[type=number][value=1] encapsulation
- html: label input[type=password] encapsulation
- html: label input[type=password][value='test'] encapsulation
- html: label input[type=radio] encapsulation
- html: label input[type=radio][value='test'] encapsulation
- html: label input[type=range] encapsulation
- html: label input[type=range][value='5'][min='0'][max='10'] encapsulation
- html: label input[type=search] encapsulation
- html: label input[type=search][value='test'] encapsulation
- html: label input[type=tel] encapsulation
- html: label input[type=tel][value='123-45-678'] encapsulation
- html: label[for] input[type=text] encapsulation
- html: label[for] input[type=text][value='test'] encapsulation
- html: label input[type=time] encapsulation
- html: label input[type=time][value='00:01'] encapsulation
- html: label input[type=url] encapsulation
- html: label input[type=url][value='https://www.w3.org'] encapsulation
- html: label input[type=week] encapsulation
- html: label input[type=week][value='2025-W01'] encapsulation
- html: select for/id
- html: select encapsulation
- html: img[alt] (non-empty)
- html: picture > img[alt] (non-empty)
- img[alt] with single space character as name
- img[alt] with single tab as name
- img[alt] with new line as name
- img[alt] with single space character and tab as name
- img[alt] with form feed as name
- img[alt] with interior single tab in the name
- img[alt] with interior new line in the name
- img[alt] with interior single space and tab in the name
- img[alt] with interior form feed in the name
- html: fieldset > legend
- html: table > caption
- html: multiple label elements[for]
comp_label.html 131 / 131 passingChrome 131 / 1310 failedClean
131 passing subtests
- label valid on div with alert role
- label valid on div with alertdialog role
- label valid on div with application role
- label valid on div with article role
- label valid on div with banner role
- label valid on div with blockquote role
- label valid on div with button role
- label valid on div with cell role
- label valid on div with checkbox role
- label valid on div with columnheader role
- label valid on div with combobox role
- label valid on div with complementary role
- label valid on div with contentinfo role
- label valid on div with dialog role
- label valid on div with directory role
- label valid on div with document role
- label valid on div with feed role
- label valid on div with figure role
- label valid on div with form role
- label valid on div with grid role
- label valid on div with gridcell role
- label valid on div with group role
- label valid on div with heading role
- label valid on div with img role
- label valid on div with link role
- label valid on div with list role
- label valid on div with listbox role
- label valid on div with listitem role
- label valid on div with log role
- label valid on div with main role
- label valid on div with marquee role
- label valid on div with math role
- label valid on div with menu role
- label valid on div with menubar role
- label valid on div with menuitem role
- label valid on div with menuitemcheckbox role
- label valid on div with menuitemradio role
- label valid on div with meter role
- label valid on div with navigation role
- label valid on div with note role
- label valid on div with option role
- label valid on div with progressbar role
- label valid on div with radio role
- label valid on div with radiogroup role
- label valid on div with region role
- label valid on div with row role
- label valid on div with rowgroup role
- label valid on div with rowheader role
- label valid on div with scrollbar role
- label valid on div with search role
- label valid on div with searchbox role
- label valid on div with separator role
- label valid on div with slider role
- label valid on div with spinbutton role
- label valid on div with status role
- label valid on div with switch role
- label valid on div with tab role
- label valid on div with table role
- label valid on div with tablist role
- label valid on div with tabpanel role
- label valid on div with textbox role
- label valid on div with timer role
- label valid on div with toolbar role
- label valid on div with tooltip role
- label valid on div with tree role
- label valid on div with treegrid role
- label valid on div with treeitem role
- label valid on link element
- label valid on article element
- label valid on aside element
- label valid on blockquote element
- label valid on button element
- label valid on dl element
- label valid on footer element
- label valid on fieldset element
- label valid on figure element
- label valid on form element
- label valid on header element
- label valid on h1 element
- label valid on h2 element
- label valid on h3 element
- label valid on h4 element
- label valid on h5 element
- label valid on h6 element
- label valid on hr element
- label valid on img element
- label valid on input type checkbox element
- label valid on input type radio element
- label valid on input type search element
- label valid on input type text element
- label valid on listitem element
- label valid on main element
- label valid on math element
- label valid on meter element
- label valid on nav element
- label valid on list (ordered) element
- label valid on section element
- label valid on select element
- label valid on option element
- label valid on table element
- label valid on thead element
- label valid on th element with the scope of col
- label valid on th (scope row) element
- label valid on tbody element
- label valid on tr element
- label valid on td element
- label valid on tfoot element
- label valid on textarea element
- label valid on list (unordered) element
- button's hidden referenced name (display:none) supercedes aria-label
- button's hidden referenced name (visibility:hidden) supercedes aria-label
- button's hidden referenced name (visibility:hidden) with hidden aria-labelledby traversal falls back to aria-label
- link's aria-labelledby name supercedes aria-label
- img's aria-label supercedes alt attribute
- svg's aria-label supercedes title tag
- input with label for association is superceded by aria-label
- button name from contents is superceded by aria-label
- h1 text is superceded by aria-label
- button with title is superceded by aria-label
- textarea's name with trailing whitespace in aria-label is valid
- link's name with leading whitespace in aria-label is valid
- button with blank braille pattern has name as such (not treated as whitespace per Unicode standard)
- div with role alert and carriage return in aria-label is valid
- link's name with tab in aria-label is valid
- button with leading form feed control character in aria-label is valid
- nav with trailing nbsp char aria-label is valid (nbsp is preserved in name)
- button with leading nbsp char in aria-label is valid (and uses aria-label)
- button with empty aria-label does not use aria-label as name
- textarea with tab character as aria-label does not use aria-label as name
- button with carriage return as aria-label does not use aria-label as name
- button with space characters as aria-label does not use aria-label as name
comp_labeledby_non_standard.html 1 / 3 passingChrome 1 / 32 failedWith failures
- ¶
FAILdiv group with aria-labeledby
assert_equals: <div role="group" aria-labeledby="h" class="ex" data-expectedlabel="" data-testname="div group with aria-labeledby"> <h2 id="h">first heading</h2> <p>text inside div group</p> </div> expected "" but got "first heading"
- ¶
FAILdiv group with aria-label and aria-labeledby
assert_equals: <div role="group" aria-label="self label" id="g2" aria-labeledby="g2 h2" class="ex" data-expectedlabel="self label" data-testname="div group with aria-label and aria-labeledby"> <h2 id="h2">+ first heading</h2> <p>text inside div group</p> </div> expected "self label" but got "self label + first heading"
1 passing subtest
- div group with aria-labeledby and aria-labelledby
comp_labelledby.html 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- div group explicitly labelledby heading
- div group explicitly labelledby self and heading
- nav with verified spaces appended between each of IDREFS
- link labelled by aria-labelledby supercedes aria-labeledby (non-standard spelling)
- button labelled by aria-labelledby supercedes aria-labeledby (non-standard spelling)
- div labelled by aria-labelledby supercedes aria-labeledby (non-standard spelling)
- link labelled by [aria-labeledby][aria-labelledby]
- button labelled by [aria-labeledby][aria-labelledby]
- div labelled by [aria-labeledby][aria-labelledby]
- link name from content for each child including nested image (referenced elsewhere via labeledby)
comp_name_from_content.html 73 / 79 passingChrome 79 / 796 failedWith failures
- ¶
FAILbutton with alt counter on ::before
assert_equals: <button data-expectedlabel="5051 label" data-testname="button with alt counter on ::before" class="ex alt-counter">label</button> expected "5051 label" but got "label"
- ¶
FAILheading with alt counter on ::before
assert_equals: <h3 data-expectedlabel="5051 label" data-testname="heading with alt counter on ::before" class="ex alt-counter">label</h3> expected "5051 label" but got "label"
- ¶
FAILlink with alt counter on ::before
assert_equals: <a href="#" data-expectedlabel="5051 label" data-testname="link with alt counter on ::before" class="ex alt-counter">label</a> expected "5051 label" but got "label"
- ¶
FAILbutton with multiple alt counters and counter increments
assert_equals: <button data-expectedlabel="11 alpha 13 beta 14 gamma" data-testname="button with multiple alt counters and counter increments" class="ex multi-alt-counter"><span>alpha</span> <span>beta</span> <span>gamma</span></button> expected "11 alpha 13 beta 14 gamma" but got "alpha beta gamma"
- ¶
FAILheading with multiple alt counters and counter increments
assert_equals: <h3 data-expectedlabel="11 alpha 13 beta 14 gamma" data-testname="heading with multiple alt counters and counter increments" class="ex multi-alt-counter"><span>alpha</span> <span>beta</span> <span>gamma</span></h3> expected "11 alpha 13 beta 14 gamma" but got "alpha beta gamma"
- ¶
FAILlink with multiple alt counters and counter increments
assert_equals: <a href="#" data-expectedlabel="11 alpha 13 beta 14 gamma" data-testname="link with multiple alt counters and counter increments" class="ex multi-alt-counter"><span>alpha</span> <span>beta</span> <span>gamma</span></a> expected "11 alpha 13 beta 14 gamma" but got "alpha beta gamma"
73 passing subtests
- aria button name from content, inline
- aria heading name from content, inline
- aria link name from content, inline
- aria button name from content, block
- aria heading name from content, block
- aria link name from content, block
- button name from content
- heading name from content
- link name from content
- button name from content with ::before
- heading name from content with ::before
- link name from content with ::before
- button name from content with ::after
- heading name from content with ::after
- link name from content with ::after
- button name from content with ::before and ::after
- heading name from content with ::before and ::after
- link name from content with ::before and ::after
- button name from content no space joiners ::before and ::after
- heading name from content no space joiners ::before and ::after
- link name from content no space joiners ::before and ::after
- button name from content with ::before and ::after in rtl
- heading name from content with ::before and ::after in rtl
- link name from content with ::before and ::after in rtl
- button name from fallback content with ::before and ::after
- heading name from fallback content with ::before and ::after
- link name from fallback content with ::before and ::after
- button name from fallback content mixing attr() and strings with ::before and ::after
- heading name from fallback content mixing attr() and strings with ::before and ::after
- link name from fallback content mixing attr() and strings with ::before and ::after
- primitive radio input with ::before containing empty alternative text
- primitive radio input with ::before containing empty alternative text for an image
- button name from content for each child
- heading name from content for each child
- link name from content for each child
- button name from content for each child including image
- heading name from content for each child including image
- link name from content for each child including image
- button name from content for each child including nested image
- heading name from content for each child including nested image
- link name from content for each child including nested image
- heading name from content for each child including nested button with nested image
- heading name from content for each child including nested link with nested image
- heading name from content for each child including nested link using aria-label with nested image
- heading name from content for each child including nested link using aria-labelledby with nested image
- heading name from content for each child including two nested links using aria-labelledby with nested image
- link name from content for each child including nested image (referenced elsewhere via labelledby)
- button name from content for each child (no space, inline)
- heading name from content for each child (no space, inline)
- link name from content for each child (no space, inline)
- button name from content for each child (no space, display:block)
- heading name from content for each child (no space, display:block)
- link name from content for each child (no space, display:block)
- button name from content for each child (no space, display:inline-block)
- heading name from content for each child (no space, display:inline-block)
- link name from content for each child (no space, display:inline-block)
- heading name from content with text-transform:none
- heading name from content with text-transform:uppercase
- heading name from content with text-transform:capitalize
- heading name from content with text-transform:lowercase
- heading name from content with text-transform:full-size-kana
- implicit button name from content containing a dfn element
- implicit heading name from content containing a dfn element
- implicit link name from content containing a dfn element
- implicit button name from content containing an element with explicit term role
- implicit heading name from content containing an element with explicit term role
- implicit link name from content containing an element explicit with term role
- explicit button name from content containing a dfn element
- explicit heading name from content containing a dfn element
- explicit link name from content containing a dfn element
- explicit button name from content containing an element explicit with term role
- explicit heading name from content containing an element explicit with term role
- explicit link name from content containing an element explicit with term role
comp_name_from_content_alt_counter_invalidation.html 0 / 3 passingChrome —3 failedExempt
Exempt from the 0.1 gate: Crane follows the browser majority
Crane names each element from its contents without the ::before alt text's counter() value ("label", not "228 label"), as Firefox and Safari do - each of the three subtests fails the same assert_equals with the same "label"; only Chrome renders the counter into CSS alt text (lane a11y1, the integrator 2026-11-24 7:27 AM ET)
- Crane matches
- Firefox, Safari
- Chrome
- wpt.fyi run 4786307730243584: 3/3 (Chrome 157, 2358bd4835)
- Firefox
- wpt.fyi run 4877168468033536: 0/3 (Firefox 160, 2358bd4835)
- Safari
- wpt.fyi run 6479119966273536: 0/3 (Safari 27.2, 2358bd4835)
- Revisit
- when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
- ¶
FAILbutton with alt counter on ::before
assert_equals: <button data-expectedlabel="228 label" data-testname="button with alt counter on ::before" class="ex alt-counter">label</button> expected "228 label" but got "label"
- ¶
FAILheading with alt counter on ::before
assert_equals: <h3 data-expectedlabel="228 label" data-testname="heading with alt counter on ::before" class="ex alt-counter">label</h3> expected "228 label" but got "label"
- ¶
FAILlink with alt counter on ::before
assert_equals: <a href="#" data-expectedlabel="228 label" data-testname="link with alt counter on ::before" class="ex alt-counter">label</a> expected "228 label" but got "label"
comp_name_from_content_alt_counter_multi_instance.html 0 / 3 passingChrome —3 failedExempt
Exempt from the 0.1 gate: Crane follows the browser majority
Crane names each element from its contents without the ::before alt text's counter() value ("label", not "1 label", "2 label", "3 label"), as Firefox and Safari do - each of the three subtests fails the same assert_equals with the same "label"; only Chrome renders the counter into CSS alt text (lane a11y1, the integrator 2026-11-24 7:27 AM ET)
- Crane matches
- Firefox, Safari
- Chrome
- wpt.fyi run 4786307730243584: 3/3 (Chrome 157, 2358bd4835)
- Firefox
- wpt.fyi run 4877168468033536: 0/3 (Firefox 160, 2358bd4835)
- Safari
- wpt.fyi run 6479119966273536: 0/3 (Safari 27.2, 2358bd4835)
- Revisit
- when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
- ¶
FAILfirst button
assert_equals: <button data-expectedlabel="1 label" data-testname="first button" class="ex alt-counter">label</button> expected "1 label" but got "label"
- ¶
FAILheading
assert_equals: <h3 data-expectedlabel="2 label" data-testname="heading" class="ex alt-counter">label</h3> expected "2 label" but got "label"
- ¶
FAILlink
assert_equals: <a href="#" data-expectedlabel="3 label" data-testname="link" class="ex alt-counter">label</a> expected "3 label" but got "label"
comp_name_from_content_display_contents.html 13 / 13 passingChrome 13 / 130 failedClean
13 passing subtests
- name from content of a display: contents element, followed by an inline sibling
- name from content of a display: contents element, followed by a block sibling
- name from content of a display: contents element, followed by a text sibling
- name from content of a display: contents element with the link role, followed by a sibling
- name from content of a display: contents element with a block child
- name from content of a display: contents element in a flex container
- name from content of a display: contents element in a flex container, text after an element
- name from content of a display: contents element in a flex container, with a child that does not render
- name from content of a display: contents element in a flex container, with a display: contents child
- name from content of a display: contents element with the link role in a grid container
- name from content of a display: contents shadow host, with a node assigned to a slot
- name from content of a display: contents shadow host, with the fallback content of a slot
- name from content of a display: contents shadow host, with a child that is not assigned to a slot
comp_text_node.html 50 / 50 passingChrome 50 / 500 failedClean
50 passing subtests
- span[role=button] with text/element/text nodes, no space
- div[role=heading] with text/element/text nodes, no space
- button with text/element/text nodes, no space
- heading with text/element/text nodes, no space
- link with text/element/text nodes, no space
- span[role=button] with text/comment/text nodes, no space
- div[role=heading] with text/comment/text nodes, no space
- button with text/comment/text nodes, no space
- heading with text/comment/text nodes, no space
- link with text/comment/text nodes, no space
- span[role=button] with text/comment/text nodes, with space
- div[role=heading] with text/comment/text nodes, with space
- button with text/comment/text nodes, with space
- heading with text/comment/text nodes, with space
- link with text/comment/text nodes, with space
- span[role=button] with text node, with tab char
- div[role=heading] with text node, with tab char
- button with text node, with tab char
- heading with text node, with tab char
- link with text node, with tab char
- span[role=button] with text node, with non-breaking space
- div[role=heading] with text node, with non-breaking space
- button with text node, with non-breaking space
- heading with text node, with non-breaking space
- link with text node, with non-breaking space
- span[role=button] with text node, with extra non-breaking space
- div[role=heading] with text node, with extra non-breaking space
- button with text node, with extra non-breaking space
- heading with text node, with extra non-breaking space
- link with text node, with extra non-breaking space
- span[role=button] with text node, with leading/trailing non-breaking space
- div[role=heading] with text node, with leading/trailing non-breaking space
- button with text node, with leading/trailing non-breaking space
- heading with text node, with leading/trailing non-breaking space
- link with text node, with leading/trailing non-breaking space
- span[role=button] with text node, with mixed space and non-breaking space
- div[role=heading] with text node, with mixed space and non-breaking space
- button with text node, with mixed space and non-breaking space
- heading with text node, with mixed space and non-breaking space
- link with text node, with mixed space and non-breaking space
- span[role=button] with text node, with deeply nested space
- div[role=heading] with text node, with deeply nested space
- button with text node, with deeply nested space
- heading with text node, with deeply nested space
- link with text node, with deeply nested space
- span[role=button] with text node, with single line break
- div[role=heading] with text node, with single line break
- button with text node, with single line break
- heading with text node, with single line break
- link with text node, with single line break
comp_tooltip.html 22 / 22 passingChrome 22 / 220 failedClean
22 passing subtests
- link with img with tooltip label
- link with text with tooltip label and no contents
- link with text with tooltip label and contents
- div with text with tooltip label
- img with tooltip label without alt
- img with tooltip label with alt
- img with tooltip label without title
- select with tooltip label
- button with tooltip label
- checkbox input with tooltip label
- radio input with tooltip label
- text input with placeholder and tooltip label
- password input with placeholder and tooltip label
- number input with placeholder and tooltip label
- search input with placeholder and tooltip label
- tel input with placeholder and tooltip label
- email input with placeholder and tooltip label
- url input with placeholder and tooltip label
- textarea with placeholder and tooltip label
- abbr with tooltip label
- summary with tooltip label and contents
- iframe with tooltip label