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

Editable Combobox examples not respecting Required Owned Element #2743

Closed
sinap-fb opened this issue Jul 1, 2023 · 1 comment
Closed

Editable Combobox examples not respecting Required Owned Element #2743

sinap-fb opened this issue Jul 1, 2023 · 1 comment
Assignees
Labels
Example Page Related to a page containing an example implementation of a pattern Feedback Issue raised by or for collecting input from people outside APG task force

Comments

@sinap-fb
Copy link

sinap-fb commented Jul 1, 2023

Per dequelabs/axe-core#2339 (comment), it seems like the following APG examples for editable comboxes don't satisfy the ARIA's Required Owned Element requirement for listboxes have at least one descendant that is a Required Owned Element (role="optoin" or role="group") when typing in a query that has no results. Instead, the listbox is a <ul> with no children.

Violating examples:

Thanks

@mcking65 mcking65 added Feedback Issue raised by or for collecting input from people outside APG task force QA for APG Examples Related to improve the quality and the acceptance of APG examples labels Aug 1, 2023
@mcking65
Copy link
Contributor

mcking65 commented Aug 1, 2023

@sinap-fb Yes, per ARIA 1.2, there would be bugs. In practice, there aren't any negative consequences, and consequently, the ARIA requirements are changing.

ARIA 1.3 is replacing the concept of required owned elements with Allowed Accessibility Child Roles.

The new wording in the definition of listbox is:

List boxes contain children whose role is option or elements whose role is group which in turn contain children whose role is option.

@mcking65 mcking65 closed this as completed Aug 1, 2023
@mcking65 mcking65 added Example Page Related to a page containing an example implementation of a pattern and removed QA for APG Examples Related to improve the quality and the acceptance of APG examples labels Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Example Page Related to a page containing an example implementation of a pattern Feedback Issue raised by or for collecting input from people outside APG task force
Projects
None yet
Development

No branches or pull requests

2 participants