Skip to content

[bc4a75] ARIA required owned elements - Passed Example 6 is not accurate and should fail #2247

@giacomo-petri

Description

@giacomo-petri

In ARIA required owned elements, passed example 6:

<div role="menu">
	<div role="group">
		<span role="menuitem">Item 1</span>
		<div role="group">
			<span role="menuitem">Item 2</span>
			<span role="menuitem">Item 3</span>
		</div>
	</div>
</div>

should fail rather than pass.

Per ARIA specs, the role="menu" accepts group as acc child only if one of the following is true:

Instead in this testcase, the group has another role group, which is not acceptable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions