You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds an entry for the focusgroup content attribute documenting that it
has no direct accessibility API mapping, but that user agents infer
ARIA composite-widget roles for the focus group owner (and, for button
items, the corresponding item roles) when a behavior token is used and
the element would otherwise have a generic role with no explicit role
or non-generic native semantics.
Companion to whatwg/html#11723.
The `focusgroup` attribute enables <a data-cite="html/interaction.html#directional-navigation">directional navigation</a> among its focusable descendants and has no direct
11156
+
accessibility API mapping of its own. However, per <a data-cite="html/interaction.html#focusgroup-aria-role-inference">[HTML] §ARIA Role Inference</a>, when a behavior token is
11157
+
specified the user agent infers an ARIA role for the <a data-cite="html/interaction.html#focus-group-owner">focus group owner</a>, and for `button`
11158
+
<a data-cite="html/interaction.html#focus-group-item">focus group items</a>, as summarized below. Owner role inference applies only when the element would otherwise have an implicit
11159
+
role of <a class="core-mapping" href="#role-map-generic">`generic`</a>, has no explicit <a data-cite="wai-aria-1.2/#host_general_role">`role`</a> attribute, and has no non-generic
11160
+
native semantics (such as `nav`, `ul`, or `table`). Item role inference is restricted to `button` elements without an explicit `role`; other native interactive elements (links, form
Role inference never overrides an explicit author-defined `role` attribute or non-generic native-element semantics, and does not infer variant roles such as
11206
+
<a class="core-mapping" href="#role-map-menuitemcheckbox">`menuitemcheckbox`</a> or <a class="core-mapping" href="#role-map-menuitemradio">`menuitemradio`</a>.
11207
+
</p>
11208
+
<p class="note">
11209
+
The `inline` and `block` axis modifiers do not cause user agents to infer or expose
11210
+
<a data-cite="wai-aria-1.2/#aria-orientation">`aria-orientation`</a>; they only restrict the axis along which
11211
+
<a data-cite="html/interaction.html#directional-navigation">directional navigation</a> may move focus.
0 commit comments