dequelabs / dequelabs/axe-core

(aria-required-children): does not allow separator in listbox

Open
#3,938 3 comments 1 reaction 0 assignees View on GitHub
rules spec
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

### Product

axe-core

### Product Version

_No response_

### Latest Version

- [X] I have tested the issue with the latest version of the product

### Issue Description

#### Expectation
Accessibility tests to pass.

An item with role=separator should be acceptable as a child of an element with role=listbox.

#### Actual
Accessibility test fails aria-required-children test.

Error:

Fix any of the following:

Element has children which are not allowed (see related nodes)
Element has no aria-busy="true" attribute

Related node:

li[role="separator"]

#### How to Reproduce
html sample:

```html



  • Home



  • Colors


```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.