w3c / html-aria

ARIA in HTML
https://w3c.github.io/html-aria/
Other
181 stars 48 forks source link

Allow aria-setsize, aria-posinset on grids #226

Closed shleewhite closed 3 years ago

shleewhite commented 4 years ago

I have a use case where we have a complex data grid and for performance reasons, not all the rows are in the DOM at all times. The user scrolls and more rows are loaded in.

Looking at the current documentation, it says aria-setsize and aria-posinset are only allowed on treegrids. I think this should be expanded to elements with role="grid" as well.

scottaohara commented 3 years ago

This would be a request for the ARIA specification as this is asking for a change to accepted attributes for use with ARIA roles. ARIA in HTML is specifically for indicating what ARIA is allowed on HTML elements.