Skip to content

Should role="option" be an allowed child of role="combobox" #2896

Description

@jnurthen

Describe your concern

<select> maps to role=combobox in HTML-AAM
<option> maps to role=option in HTML-AAM

But combobox is not listed as an allowed parent of role="option" - this seems inconsistent.

axe currently will flag

<select>
  <option role=option>...</option>
</select>

as an error - but not

<select>
  <option>...</option>
</select>

despite them being functionally the same.

Link to the version of the specification or documentation you were looking at at.

Link to documentation:
https://w3c.github.io/aria/

Does the issue exists in the editors draft (the editors draft is the most recent draft of the specification)?
yes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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