Skip to content

Why can't textarea elements have role combobox? #3548

@nolandanley

Description

@nolandanley

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, so the following code snippet (obviously not the full widget) throws an aria-allowed-role violation. Does using text field elements other than input cause known accessibility issues? Thanks for any insight!

<textarea role="combobox"></textarea>

Product: axe-core v4.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions