























@@ -3742,11 +3742,14 @@ <h3 id="docconformance-attr">
37423742</td>
37433743<td>
37443744<p>
3745- Authors MAY use the <a data-cite="wai-aria-1.2#aria-hidden">`aria-hidden`</a> attribute on any HTML element that allows <a data-cite="wai-aria-1.2#global_states">global `aria-*` attributes</a> to
3745+ Authors MAY use the <a data-cite="wai-aria-1.2#aria-hidden">`aria-hidden`</a> attribute on any HTML element that allows
3746+<a data-cite="wai-aria-1.2#global_states">global `aria-*` attributes</a> to
37463747 be specified, with the exception of focusable elements and the <a href="#el-body">`body`</a> element.
37473748</p>
37483749<p>
3749- It is generally NOT RECOMMENDED for authors to use `aria-hidden="true"` on any element which also has the `hidden` attribute specified. However, authors MUST NOT use `aria-hidden="true"` on any element which also has the `hidden` attribute specified in the `until-found` state.
3750+ It is generally NOT RECOMMENDED for authors to use `aria-hidden="true"` on any element which also has the `hidden` attribute specified. However,
3751+ authors MUST NOT use `aria-hidden="true"` on any element which also has the `hidden` attribute specified in the
3752+<a data-cite="html/interaction.html#attr-hidden-until-found-state">Hidden Until Found</a> state.
37503753</p>
37513754<div class="note">
37523755 A focusable element is any element which can be focused by use of keyboard or pointer device. Focusable elements are not always elements which
@@ -3755,8 +3758,8 @@ <h3 id="docconformance-attr">
37553758<div class="note">
37563759 Using `aria-hidden="true"` on an element that has the `hidden` attribute is at best an unnecessary redundancy. At worst its usage can
37573760 prevent access to the content if the `hidden` attribute's default UA style of `display: none` has been purposeuflly overwritten by an author or user style sheet.
3758- Finally, if the `hidden` attribute has the value of `until-found`, the use of `aria-hidden=true` will prevent this content from being discoverable to users of assistive
3759- technology when it is found via a browser's in-page find feature and visually rendered to users.
3761+ Finally, if the `hidden` attribute is in the Hidden Until Found state, the use of `aria-hidden=true` will prevent this content from being discoverable to users
3762+of assistive technology when it is found via a browser's in-page find feature and visually rendered to users.
37603763</div>
37613764</td>
37623765</tr>
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。