Skip to content

Commit 5ef89b8

Browse files
authored
Add img controls + alt conformance criteria
Fixes #12377.
1 parent fc559a5 commit 5ef89b8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

source

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31202,7 +31202,9 @@ interface <dfn interface>HTMLImageElement</dfn> : <span>HTMLElement</span> {
3120231202

3120331203
<p>The <dfn element-attr for="img"><code data-x="attr-img-controls">controls</code></dfn>
3120431204
attribute is a <span>boolean attribute</span>. If present, it indicates that the user agent may
31205-
expose a user interface to the user.</p>
31205+
expose a user interface to the user. The attribute must not be specified on an element that does
31206+
not have an <code data-x="attr-img-alt">alt</code> attribute, or whose <code
31207+
data-x="attr-img-alt">alt</code> attribute's value is the empty string.</p>
3120631208

3120731209
<div w-nodev>
3120831210

0 commit comments

Comments
 (0)