dequelabs / dequelabs/axe-core

aria-haspopup depricated from global attributes

Open
#4,531 1 comment 0 reactions 0 assignees View on GitHub
deprecation standards
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

### Product

axe-core

### Product Version

4.9.1

### Latest Version

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

### Issue Description

#### Expectation
Does the fact that aria-haspopup has been deprecated from global attributes mean it should be reported as a violation when used in any roles not listed - [https://www.w3.org/TR/wai-aria-1.2/#aria-haspopup](url) ?
#### Actual
When aria-haspopup is used on a DIV no violation is thrown

#### How to Reproduce
I would think the following code would return a violation but it does not.
`

class
`

#### Additional context
NA

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.