dequelabs / dequelabs/axe-core

Why can't `textarea` elements have role `combobox`?

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

Description

Just wanted to ask why `textarea` elements aren't allowed to have the role `combobox`. It seems like just [certain types of `input` elements are allowed](https://github.com/dequelabs/axe-core/issues/1777), so the following code snippet (obviously not the full widget) throws an [`aria-allowed-role`](https://dequeuniversity.com/rules/axe/4.4/aria-allowed-role) violation. Does using text field elements other than `input` cause known accessibility issues? Thanks for any insight!

``````

Product: axe-core v4.4.1

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.