Skip to content

Consider allowing aria-setsize at the container level #2528

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

Open
scottaohara opened this issue May 8, 2025 · 2 comments
Open

Consider allowing aria-setsize at the container level #2528

scottaohara opened this issue May 8, 2025 · 2 comments
Assignees

Comments

@scottaohara
Copy link
Member

scottaohara commented May 8, 2025

Working with a product team today, they were getting an automated flag for their misuse of aria-setsize. they used it directly on a role=listbox element, rather than every option within their listbox.

testing with chrome/edge - setting the aria-setsize once on the element with role=listbox will update the max count for all options within a listbox.

testing with firefox and safari (desktop), the aria-setsize is ignored if not set to the option element itself.

it seems like it'd be far easier from a development perspective to define this attribute once, and update just that (if necessary) than to have to declare it for each element within a set.

i can understand that this might not be 100% sufficient for instances of where there may be groups of items, and those might need to have their own setsize/posinset. but, arguably guidance could be written around when to declare at the parent level vs needing to declare on every item.

@scottaohara scottaohara self-assigned this May 8, 2025
@spectranaut
Copy link
Contributor

Discussed during triage: https://www.w3.org/2025/05/08-aria-minutes.html#e3dd

@MarioBatusic
Copy link
Contributor

From the beginning, I wondered why a container property actually needs to be recorded on all members. In our Fabasoft Cloud, users sometimes fill the object list box with thousands of entries, and the list would load faster the less data is recorded per entry.

Besides, it would be much more logical to record a container property directly on the container.

@scottaohara scottaohara changed the title Consider allowing aria-setsize a the container level Consider allowing aria-setsize at the container level Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants