Skip to content

[a11y] Select aria-expanded is never false #5360

Closed
@NicholasNewlandsDR

Description

@NicholasNewlandsDR

What is affected?

Accessibility

Description

This line should be 'true': 'false' instead of 'nothing'.

Currently this fails the basic Chai A11y aXe to.be.accessible() check.

Reproduction

Add the element and try and test the accessibility using the method in the provided link.

Workaround

When testing the accessibility of a form, you will need to test each element skipping over the select instead of simply running the test on a wrapping element.

Is this a regression?

No or unsure. This never worked, or I haven't tried before.

Affected versions

Failing in 1.1.1

Browser/OS/Node environment

Using the recommended web-test-runner.

Metadata

Metadata

Assignees

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