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

Can combo boxes be implemented with lists in popups instead of listboxes #2003

Closed
stes-acc opened this issue Aug 17, 2023 · 5 comments
Closed
Labels
F2FCandidate Candidate topics for F2F (or Virtual F2F) meeting

Comments

@stes-acc
Copy link

stes-acc commented Aug 17, 2023

Can combo boxes be implemented with lists in popups instead of listboxes?

This is done frequently in various HTML-based frameworks but there is no statement on this in ARIA APG or Spec.

@stes-acc stes-acc added the F2FCandidate Candidate topics for F2F (or Virtual F2F) meeting label Aug 17, 2023
@stes-acc stes-acc changed the title combo boxes be implemented with lists in popups instead of listboxes Can combo boxes be implemented with lists in popups instead of listboxes Aug 17, 2023
@scottaohara
Copy link
Member

can you provide examples of what you're referring to - if there are frameworks that are providing this pattern.

what is the use case to do this vs is this potentially just errors that there's no good reason to codify?

@stes-acc
Copy link
Author

stes-acc commented Aug 18, 2023

Combos in modern HTML-based frameworks are populated with all kinds of sophisticated stuff because there are real use cases behind that.

Starting with the fact that #1440 is there for a reason (including examples), devs have simply no option to accomplish this with options in a listbox, they take extended listitems for that that require a list and not a listbox container.

These guys do code now and are no willing to wait until aria-actions is on the display, therefore the question.

@spectranaut
Copy link
Contributor

spectranaut commented Aug 21, 2023

We an example before scheduling a discussion.

@stes-acc
Copy link
Author

stes-acc commented Sep 7, 2023

This boils down to the question if "list" can be added to the allowed values of aria-haspopup since applying aria-haspopup on combobox role is perfectly OK in ARIA spec.

Currently "list" it is not contained in allowed values, so maybe better create a separate issue for this and closing this one. I'm OK with it.

@stes-acc stes-acc closed this as completed Sep 7, 2023
@stes-acc
Copy link
Author

stes-acc commented Sep 7, 2023

Closed and will be continued as issue for aria-haspopup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F2FCandidate Candidate topics for F2F (or Virtual F2F) meeting
Projects
None yet
Development

No branches or pull requests

3 participants