Skip to content

Commit ab43671

Browse files
committed
<a> without href is not interactive content
1 parent 790479a commit ab43671

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

images/content-venn.svg

Lines changed: 1 addition & 1 deletion
Loading

source

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9749,7 +9749,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
97499749

97509750
<!-- when updating this also update the category index -->
97519751
<ul class="brief category-list">
9752-
<li><code>a</code></li>
9752+
<li><code>a</code> (if the <code data-x="attr-hyperlink-href">href</code> attribute is present)</li>
97539753
<li><code>audio</code> (if the <code data-x="attr-media-controls">controls</code> attribute is present)</li>
97549754
<li><code>button</code></li>
97559755
<li><code>details</code></li>
@@ -17407,12 +17407,12 @@ included with Exhibit B.
1740717407
<dt><span data-x="concept-element-categories">Categories</span>:</dt>
1740817408
<dd><span>Flow content</span>.</dd>
1740917409
<dd><span>Phrasing content</span>.</dd>
17410-
<dd><span>Interactive content</span>.</dd>
17410+
<dd>If the element has a <code data-x="attr-hyperlink-href">href</code> attribute: <span>Interactive content</span>.</dd>
1741117411
<dd><span>Palpable content</span>.</dd>
1741217412
<dt><span data-x="concept-element-contexts">Contexts in which this element can be used</span>:</dt>
1741317413
<dd>Where <span>phrasing content</span> is expected.</dd>
1741417414
<dt><span data-x="concept-element-content-model">Content model</span>:</dt>
17415-
<dd><span>Transparent</span>, but there must be no <span>interactive content</span> descendant.</dd>
17415+
<dd><span>Transparent</span>, but there must be no <span>interactive content</span> or <code>a</code> element descendants.</dd>
1741617416
<dt><span data-x="concept-element-attributes">Content attributes</span>:</dt>
1741717417
<dd><span>Global attributes</span></dd>
1741817418
<dd><code data-x="attr-hyperlink-href">href</code></dd>
@@ -115283,7 +115283,6 @@ if (s = prompt('What is your name?')) {
115283115283
<tr>
115284115284
<td> <span>Interactive content</span>*
115285115285
<td>
115286-
<code>a</code>;
115287115286
<code>button</code>;
115288115287
<code>details</code>;
115289115288
<code>embed</code>;
@@ -115293,6 +115292,7 @@ if (s = prompt('What is your name?')) {
115293115292
<code>select</code>;
115294115293
<code>textarea</code>
115295115294
<td>
115295+
<code>a</code> (if the <code data-x="attr-hyperlink-href">href</code> attribute is present);
115296115296
<code>audio</code> (if the <code data-x="attr-media-controls">controls</code> attribute is present);
115297115297
<code>img</code> (if the <code data-x="attr-hyperlink-usemap">usemap</code> attribute is present);
115298115298
<code>input</code> (if the <code data-x="attr-input-type">type</code> attribute is <em>not</em> in the <span data-x="attr-input-type-hidden">Hidden</span> state);

0 commit comments

Comments
 (0)