dequelabs / dequelabs/axe-core

Consider what to do about <hr> elements inside <select>

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

Description

See:
- https://developer.chrome.com/en/blog/hr-in-select/
- https://adrianroselli.com/2023/10/splitting-within-selects.html

I'm not sure what the implications of this are for axe-core. From a quick test it looks like `hr` doesn't get rendered in browsers that don't support it. That's probably different if you DOM append nodes with React or the like. Axe has no rules to check for native select elements, but it will look at `role=listbox`. We're going to need to check what the implications of this are.

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.