Skip to content

Commit ff5bdf3

Browse files
normalize “an empty string” to “the empty string” (#544)
Co-authored-by: Scott O'Hara <[email protected]>
1 parent f7e96ed commit ff5bdf3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -3259,15 +3259,15 @@ <h4 id=el-img>`img`</h4>
32593259
</tr>
32603260
</tbody>
32613261
</table>
3262-
<h4 id=el-img-empty-alt>`img` <span class="el-context">(`alt` attribute value is an empty string, i.e. `alt=""` or `alt` with no value in the markup)</span></h4>
3262+
<h4 id=el-img-empty-alt>`img` <span class="el-context">(`alt` attribute value is the empty string, i.e. `alt=""` or `alt` with no value in the markup)</span></h4>
32633263
<table aria-labelledby=el-img-empty-alt>
32643264
<tbody>
32653265
<tr>
32663266
<th>HTML Specification</th>
32673267
<td>
32683268
<a data-cite="html">`img`</a>
32693269
<span class="el-context">(<a data-cite="html/embedded-content.html#attr-img-alt">`alt`</a>
3270-
attribute value is an empty string, i.e. `alt=""` or `alt` with no value in the markup)</span>
3270+
attribute value is the empty string, i.e., `alt=""` or `alt` with no value in the markup)</span>
32713271
</td>
32723272
</tr>
32733273
<tr>

test.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ <h1 id="title" class="title">HTML Accessibility API Mappings 1.0</h1>
16061606
<th>
16071607
<a data-type="element" href="https://html.spec.whatwg.org/multipage/embedded-content.html#the-img-element"><code>img</code></a>
16081608
<span class="el-context">(<a href="https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-alt"><code>alt</code></a>
1609-
attribute value is an empty string, i.e. <code>alt=""</code> or <code>alt</code> with no value in the markup)</span>
1609+
attribute value is the empty string, i.e., <code>alt=""</code> or <code>alt</code> with no value in the markup)</span>
16101610
</th>
16111611
<td class="aria">
16121612
<div class="role">
@@ -4137,11 +4137,11 @@ <h1 id="title" class="title">HTML Accessibility API Mappings 1.0</h1>
41374137
</caption><tbody><tr><th>[<cite><a class="bibref" data-link-type="biblio" href="#bib-wai-aria-1.2" title="Accessible Rich Internet Applications (WAI-ARIA) 1.2">wai-aria-1.2</a></cite>]</th><td><a class="core-mapping" href="https://w3c.github.io/core-aam/#role-map-img"><code>img</code></a> role</td></tr><tr><th><a href="https://msdn.microsoft.com/en-us/library/dd373608%28v=VS.85%29.aspx"><abbr title="Microsoft Active Accessibility">MSAA</abbr></a> + <a href="http://accessibility.linuxfoundation.org/a11yspecs/ia2/docs/html/">IAccessible2</a></th><td><div class="general">Use <abbr title="Accessible Rich Internet Application">WAI-ARIA</abbr> mapping</div></td></tr><tr><th><a href="https://msdn.microsoft.com/en-us/library/ms726297%28v=VS.85%29.aspx">UIA</a></th><td><div class="general">Use <abbr title="Accessible Rich Internet Application">WAI-ARIA</abbr> mapping</div></td></tr><tr><th><a href="https://gnome.pages.gitlab.gnome.org/atk/">ATK</a></th><td><div class="general">Use <abbr title="Accessible Rich Internet Application">WAI-ARIA</abbr> mapping</div></td></tr><tr><th><a href="https://developer.apple.com/reference/appkit/nsaccessibility">AX</a></th><td><div class="general">Use <abbr title="Accessible Rich Internet Application">WAI-ARIA</abbr> mapping</div></td></tr><tr><th>Comments</th><td></td></tr></tbody></table></details><details class="map"><summary id="el-img-empty-alt">
41384138
<code>img</code>
41394139
<span class="el-context">(<code>alt</code>
4140-
attribute value is an empty string, i.e. <code>alt=""</code> or <code>alt</code> with no value in the markup)</span>
4140+
attribute value is the empty string, i.e., <code>alt=""</code> or <code>alt</code> with no value in the markup)</span>
41414141
</summary><table><caption>
41424142
<a data-type="element" href="https://html.spec.whatwg.org/multipage/embedded-content.html#the-img-element"><code>img</code></a>
41434143
<span class="el-context">(<a href="https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-alt"><code>alt</code></a>
4144-
attribute value is an empty string, i.e. <code>alt=""</code> or <code>alt</code> with no value in the markup)</span>
4144+
attribute value is the empty string, i.e., <code>alt=""</code> or <code>alt</code> with no value in the markup)</span>
41454145
</caption><tbody><tr><th>[<cite><a class="bibref" data-link-type="biblio" href="#bib-wai-aria-1.2" title="Accessible Rich Internet Applications (WAI-ARIA) 1.2">wai-aria-1.2</a></cite>]</th><td>
41464146
<div class="role">
41474147
<a class="core-mapping" href="https://w3c.github.io/core-aam/#role-map-presentation"><code>presentation</code></a>

0 commit comments

Comments
 (0)