48. WAI-ARIA group is missing a name

1.3.13.3.2

ARIA group incorrect example

Description: A group created with the WAI-ARIA role=”group” or role=”radiogroup” is missing a name.

Context: Once the role ‘group’ has been assigned, it becomes required to specify a name as well.

<ul id="random5c8c100f1f1f41_group" role="group" style="" tabindex="-1">
    <!--Content-->
</ul>

How to fix it: Use either the WAI-ARIA attribute ‘aria-label’ or ‘aria-labelledby’ to name the group.

<ul aria-label="courses list" id="random5c8c100f1f1f41_group" role="group" style="" tabindex="-1">
     <!--Content-->
</ul>

Techniques: ARIA17