Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aria-controls a required property for Combobox? #776

Closed
cpandhi opened this issue May 29, 2018 · 3 comments
Closed

aria-controls a required property for Combobox? #776

cpandhi opened this issue May 29, 2018 · 3 comments
Assignees
Labels
F2F Topics For F2F (or virtual F2F)
Milestone

Comments

@cpandhi
Copy link

cpandhi commented May 29, 2018

As per the ARIA 1.1 spec it states that the aria-controls a required properties for Combobox but technically the aria-controls is a required property on the textbox, the input element as shown in the example. Can you please clarify?
<div aria-label="Tag" role="combobox" aria-expanded="true" aria-owns="owned_listbox" aria-haspopup="listbox> <input type="text" aria-autocomplete="list" aria-controls="owned_listbox" aria-activedescendant="selected_option"></div>

@carmacleod
Copy link
Contributor

There was some discussion about this in #716

@cpandhi cpandhi changed the title aria-controls a required propertiey for Combobox? aria-controls a required property for Combobox? May 29, 2018
@mcking65
Copy link
Contributor

Charu, you are right that the location of the aria-controls requirement in the properties table for combobox is a potential problem, especially for tools that automatically derive requirements by parsing the taxonomy. As described in issue #716, the required location of aria-controls on the textbox is clearly spelled out in the descriptive text for the combobox role.

The spec doesn't give us a great way of handling situations like this. The alternative would be a conditional statement in the properties table for the textbox role. For role textbox, we could add aria- controls as a required property with the added condition "if the textbox is a descendant of an element with role combobox". I don't know if that is preferable.

I suspect @joanmarie may have a strong opinion about whether that alternative is better.

@mcking65 mcking65 self-assigned this Jun 14, 2018
@jnurthen jnurthen added this to the ARIA 1.2 milestone Jun 14, 2018
@mcking65 mcking65 added the F2FCandidate Candidate topics for F2F (or Virtual F2F) meeting label Aug 2, 2019
@jnurthen jnurthen added F2F Topics For F2F (or virtual F2F) and removed F2FCandidate Candidate topics for F2F (or Virtual F2F) meeting labels Sep 3, 2019
@zcorpan
Copy link
Member

zcorpan commented Nov 12, 2019

#1051 is merged.

@zcorpan zcorpan closed this as completed Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F2F Topics For F2F (or virtual F2F)
Projects
None yet
Development

No branches or pull requests

5 participants