blob: b173a6d0b1b3a9704e5020c81d27044b78f6a894 [file] [log] [blame]
This test ensures elements with CSS display: contents have the correct role.
<a href="https://apple.com" id="link" class="testcase"></a>
AXRole: AXLink
computedRoleString: link
<article class="testcase" id="article"></article>
AXRole: AXGroup
computedRoleString: article
AXSubrole: AXDocumentArticle
<aside class="testcase" id="aside"></aside>
AXRole: AXGroup
computedRoleString: complementary
AXSubrole: AXLandmarkComplementary
<blockquote class="testcase" id="blockquote"></blockquote>
AXRole: AXGroup
computedRoleString: blockquote
<button class="testcase" id="button"></button>
AXRole: AXButton
computedRoleString: button
<code class="testcase" id="code"></code>
AXRole: AXGroup
AXSubrole: AXCodeStyleGroup
<del class="testcase" id="del"></del>
AXRole: AXGroup
computedRoleString: deletion
AXSubrole: AXDeleteStyleGroup
<details class="testcase" id="details"></details>
AXRole: AXGroup
AXSubrole: AXDetails
<summary class="testcase" id="summary"></summary>
AXRole: AXButton
AXSubrole: AXSummary
<dfn class="testcase" id="dfn"></dfn>
AXRole: AXGroup
computedRoleString: definition
AXSubrole: AXDefinition
<div class="testcase" id="div"></div>
AXRole: AXGroup
<dl class="testcase" id="dl"></dl>
AXRole: AXList
<dt class="testcase" id="dt"></dt>
AXRole: AXGroup
AXSubrole: AXTerm
<dd class="testcase" id="dd"></dd>
AXRole: AXGroup
AXSubrole: AXDescription
<legend class="testcase" id="legend"></legend>
AXRole: AXGroup
<figure class="testcase" id="figure"></figure>
AXRole: AXGroup
computedRoleString: figure
AXSubrole: AXEmptyGroup
<form class="testcase" id="form"></form>
AXRole: AXGroup
computedRoleString: form
AXSubrole: AXEmptyGroup
<h2 class="testcase" id="h2"></h2>
AXRole: AXHeading
computedRoleString: heading
<hr class="testcase" id="hr">
AXRole: AXSplitter
computedRoleString: separator
AXSubrole: AXContentSeparator
<ins class="testcase" id="ins"></ins>
AXRole: AXGroup
computedRoleString: insertion
AXSubrole: AXInsertStyleGroup
<label class="testcase" id="label"></label>
AXRole: AXGroup
<main class="testcase" id="main"></main>
AXRole: AXGroup
computedRoleString: main
AXSubrole: AXLandmarkMain
<mark class="testcase" id="mark"></mark>
AXRole: AXGroup
<menu class="testcase" type="toolbar" id="menu-toolbar"></menu>
AXRole: AXToolbar
computedRoleString: toolbar
<nav class="testcase" id="nav"></nav>
AXRole: AXGroup
computedRoleString: navigation
AXSubrole: AXLandmarkNavigation
<ol class="testcase" id="ol"></ol>
AXRole: AXList
computedRoleString: list
<li class="testcase" id="ol-li-element"></li>
AXRole: AXGroup
computedRoleString: listitem
<output class="testcase" id="output"></output>
AXRole: AXGroup
computedRoleString: status
AXSubrole: AXApplicationStatus
<p class="testcase" id="p"></p>
AXRole: AXGroup
computedRoleString: paragraph
<pre class="testcase" id="pre"></pre>
AXRole: AXGroup
AXSubrole: AXPreformattedStyleGroup
<section class="testcase" id="section-with-name" aria-label="Section name"></section>
AXRole: AXGroup
computedRoleString: region
AXSubrole: AXLandmarkRegion
<section class="testcase" id="section-without-name"></section>
AXRole: AXGroup
<sub class="testcase" id="sub"></sub>
AXRole: AXGroup
computedRoleString: subscript
AXSubrole: AXSubscriptStyleGroup
<sup class="testcase" id="sup"></sup>
AXRole: AXGroup
computedRoleString: superscript
AXSubrole: AXSuperscriptStyleGroup
<time class="testcase" id="time"></time>
AXRole: AXGroup
computedRoleString: time
AXSubrole: AXEmptyGroup
<ul class="testcase" id="ul"></ul>
AXRole: AXList
computedRoleString: list
<li class="testcase" id="ul-li-element"></li>
AXRole: AXGroup
computedRoleString: listitem
PASS successfullyParsed is true
TEST COMPLETE