Click here to download the Blitz Browser!

WPT

wpt / css / css-display / accessibility / display-contents-role-and-label.html

Spec: CSS Display ↗

Runs: Chrome 155.0.8041.0 (wpt@2c385f65e, 2026-09-04) | Firefox 157.0a1 (wpt@2c385f65e, 2026-09-04) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-a7825 (wpt@2c385f65e, 2026-09-04) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total112/112112/112112/11298/11239/1120/112
SubtestChromeFirefoxSafariLadybirdServoBlitz
tr with display: contents, within table with display: flex, has row rolePASSPASSPASSPASSFAIL
td as child of tr with display: contents, within table with display: flex, has cell rolePASSPASSPASSPASSFAIL
tr with display: contents, within table with role=table with display: flex, has row rolePASSPASSPASSPASSFAIL
th as child of tr with display: contents, within table with role=table with display: flex, has columnheader rolePASSPASSPASSPASSFAIL
td as child of tr with display: contents, within table with role=table with display: flex, has cell rolePASSPASSPASSPASSFAIL
tr with display: contents, within table with role=grid with display: flex, has row rolePASSPASSPASSPASSFAIL
th as child of tr with display: contents, within table with role=grid with display: flex, has columnheader rolePASSPASSPASSPASSFAIL
td (no explicit role) as child of tr with display: contents, within table with role=grid with display: flex, has gridcell rolePASSPASSPASSPASSFAIL
ul with display: contents, as child of div with display: grid, has list rolePASSPASSPASSPASSFAIL
listitem within ul with display: contents, as child of div with display: grid, has listitem rolePASSPASSPASSPASSFAIL
header with display: contents has banner rolePASSPASSPASSPASSFAIL
main with display: contents has main rolePASSPASSPASSPASSFAIL
footer with display: contents has contentinfo rolePASSPASSPASSPASSFAIL
search with display: contents has search rolePASSPASSPASSPASSFAIL
div with role banner and display: contents has banner rolePASSPASSPASSPASSPASS
div with role main and display: contents has main rolePASSPASSPASSPASSPASS
div with role contentinfo and display: contents has contentinfo rolePASSPASSPASSPASSPASS
ul with role list and display: contents (child li has display: contents) has list rolePASSPASSPASSPASSPASS
li as child of ul with role list, both with display: contents, has listitem rolePASSPASSPASSPASSFAIL
ul with role list and display: contents has list rolePASSPASSPASSPASSPASS
li, as child of ul with role list and display: contents, has listitem rolePASSPASSPASSPASSFAIL
li with display: contents, as child of ul with role list, has listitem rolePASSPASSPASSPASSFAIL
ol with role list and display: contents has list role (child li has display: contents)PASSPASSPASSPASSPASS
li as child of ol with role list, both with display: contents, has listitem rolePASSPASSPASSPASSFAIL
ol with role list and display: contents has list rolePASSPASSPASSPASSPASS
li, as child of ol with role list and display: contents, has listitem rolePASSPASSPASSPASSFAIL
li with display: contents, as child of ol with role list, has listitem rolePASSPASSPASSPASSFAIL
div with list role and display: contents has list rolePASSPASSPASSPASSPASS
div with listitem role, as child of div with display: contents, has listitem rolePASSPASSPASSPASSPASS
div with list role and display: contents has list role (child div with listitem role has display: contents)PASSPASSPASSPASSPASS
div with listitem role (as child of div with list role), both with display: contents, has listitem rolePASSPASSPASSPASSPASS
div with listitem role with display: contents, as child of div with list role, has listitem rolePASSPASSPASSPASSPASS
table with role table and display: contents has table rolePASSPASSPASSPASSPASS
tr in table with role table and display: contents has row rolePASSPASSPASSPASSFAIL
td within tr both with display: contents, in table with role table and display: contents, has columnheader rolePASSPASSPASSPASSFAIL
td within tr in table with role table, all with display: contents, has cell rolePASSPASSPASSPASSFAIL
div with role table with display: contents has table rolePASSPASSPASSPASSPASS
div with role rowgroup in div with role table, both with display: contents, has rowgroup rolePASSPASSPASSPASSPASS
div with role columnheader with display: contents, in div with role rowgroup within div with table role both with display: contents, has columnheader rolePASSPASSPASSPASSPASS
th within table with role grid, both with display: contents, has columnheader rolePASSPASSPASSPASSFAIL
td within table with role grid, both with display: contents, has gridcell rolePASSPASSPASSPASSFAIL
div with role grid with display: contents has grid rolePASSPASSPASSPASSPASS
div with role rowgroup in div with role grid, both with display: contents, has rowgroup rolePASSPASSPASSPASSPASS
div with role columnheader with display: contents, in div with role rowgroup within div with grid role both with display: contents, has rowgroup rolePASSPASSPASSPASSPASS
div with gridcell role and display: contents, within div with role row contained in a div with role grid both with display: contents, has gridcell rolePASSPASSPASSPASSPASS
table with role treegrid and display: contents has treegrid rolePASSPASSPASSPASSPASS
div with role treegrid and display: contents has treegrid rolePASSPASSPASSPASSPASS
ul with role tree and display: contents has tree rolePASSPASSPASSPASSPASS
li with role treeitem and display: contents, within ul with role tree and display: contents, has treeitem rolePASSPASSPASSPASSPASS
li with role treeitem and display: contents, within ul with role=group (within ul with role tree and display: contents), has treeitem rolePASSPASSPASSPASSPASS
Label: button with display: contents is labelled via referenced hidden spanPASSPASSPASSPASSFAIL
Label: link with display: contents is labelled via aria-labelledbyPASSPASSPASSPASSFAIL
Label: nav with display: contents is labelled via aria-labelledbyPASSPASSPASSPASSFAIL
Label: button with display: contents is labelled via aria-labelPASSPASSPASSPASSFAIL
Label: div with role group with display: contents is labelled via aria-labelPASSPASSPASSPASSFAIL
Label: button with display: contents is labelled via label for/id associationPASSPASSPASSPASSFAIL
Label: g element with display: contents, as child of svg, is labelled via title elementPASSPASSPASSPASSFAIL
Label: link with display: contents is labelled via name from contentsPASSPASSPASSFAILFAIL
Label: button with display: contents is labelled via name from contentsPASSPASSPASSFAILFAIL
Label: h3 with display: contents is labelled via name from contentsPASSPASSPASSFAILFAIL
Label: button with display: contents has button rolePASSPASSPASSFAILFAIL
Label: button with explicit button role and display: contents has button rolePASSPASSPASSFAILFAIL
Label: div with button role and display: contents has button rolePASSPASSPASSFAILFAIL
Label: div with button role, tabindex=0 and display: contents has button rolePASSPASSPASSFAILFAIL
Label: h3 with display: contents has heading rolePASSPASSPASSFAILFAIL
Label: div with heading role, aria-level=3 and display: contents has heading rolePASSPASSPASSFAILFAIL
Label: span with heading role, aria-level=1 and display: contents has heading rolePASSPASSPASSFAILFAIL
Label: nav with display: contents and aria-label has navigation rolePASSPASSPASSPASSFAIL
Label: aside with display: contents and aria-label has complementary rolePASSPASSPASSPASSFAIL
Label: form with display: contents has form rolePASSPASSPASSPASSFAIL
Label: section with aria-label and display: contents has region rolePASSPASSPASSPASSFAIL
Label: div with role navigation, aria-label and display: contents has navigation rolePASSPASSPASSPASSFAIL
Label: div with role complementary, aria-label and display: contents has complementary rolePASSPASSPASSPASSFAIL
Label: div with role form, aria-label and display: contents has form rolePASSPASSPASSPASSFAIL
Label: div with role search and display: contents has search rolePASSPASSPASSPASSFAIL
Label: div with role region, aria-label and display: contents has region rolePASSPASSPASSPASSFAIL
Label: link with display: contents has link rolePASSPASSPASSFAILFAIL
Label: link with explicit link role and display: contents has link rolePASSPASSPASSFAILFAIL
Label: div with link role and display: contents has link rolePASSPASSPASSFAILFAIL
Label: div with link role, tabindex=0 and display: contents has link rolePASSPASSPASSFAILFAIL
Role: button with display: contents is labelled via referenced hidden spanPASSPASSPASSPASSFAIL
Role: link with display: contents is labelled via aria-labelledbyPASSPASSPASSPASSFAIL
Role: nav with display: contents is labelled via aria-labelledbyPASSPASSPASSPASSFAIL
Role: button with display: contents is labelled via aria-labelPASSPASSPASSPASSFAIL
Role: div with role group with display: contents is labelled via aria-labelPASSPASSPASSPASSPASS
Role: button with display: contents is labelled via label for/id associationPASSPASSPASSPASSFAIL
Role: g element with display: contents, as child of svg, is labelled via title elementPASSPASSPASSPASSFAIL
Role: link with display: contents is labelled via name from contentsPASSPASSPASSPASSFAIL
Role: button with display: contents is labelled via name from contentsPASSPASSPASSPASSFAIL
Role: h3 with display: contents is labelled via name from contentsPASSPASSPASSPASSFAIL
Role: button with display: contents has button rolePASSPASSPASSPASSFAIL
Role: button with explicit button role and display: contents has button rolePASSPASSPASSPASSPASS
Role: div with button role and display: contents has button rolePASSPASSPASSPASSPASS
Role: div with button role, tabindex=0 and display: contents has button rolePASSPASSPASSPASSPASS
Role: h3 with display: contents has heading rolePASSPASSPASSPASSFAIL
Role: div with heading role, aria-level=3 and display: contents has heading rolePASSPASSPASSPASSPASS
Role: span with heading role, aria-level=1 and display: contents has heading rolePASSPASSPASSPASSPASS
Role: nav with display: contents and aria-label has navigation rolePASSPASSPASSPASSFAIL
Role: aside with display: contents and aria-label has complementary rolePASSPASSPASSPASSFAIL
Role: form with display: contents has form rolePASSPASSPASSPASSFAIL
Role: section with aria-label and display: contents has region rolePASSPASSPASSPASSFAIL
Role: div with role navigation, aria-label and display: contents has navigation rolePASSPASSPASSPASSPASS
Role: div with role complementary, aria-label and display: contents has complementary rolePASSPASSPASSPASSPASS
Role: div with role form, aria-label and display: contents has form rolePASSPASSPASSPASSPASS
Role: div with role search and display: contents has search rolePASSPASSPASSPASSPASS
Role: div with role region, aria-label and display: contents has region rolePASSPASSPASSPASSPASS
Role: link with display: contents has link rolePASSPASSPASSPASSFAIL
Role: link with explicit link role and display: contents has link rolePASSPASSPASSPASSPASS
Role: div with link role and display: contents has link rolePASSPASSPASSPASSPASS
Role: div with link role, tabindex=0 and display: contents has link rolePASSPASSPASSPASSPASS
div with display: contents has generic rolePASSPASSPASSPASSFAIL
span with display: contents has generic rolePASSPASSPASSPASSFAIL