w3c / aria

Accessible Rich Internet Applications (WAI-ARIA)
https://w3c.github.io/aria/
Other
648 stars 125 forks source link

Discourage use of grid role for layout purposes #2000

Open stes-acc opened 1 year ago

stes-acc commented 1 year ago

Discourage use of grid role for layout purposes,

What about responsivity and position consistency in cards and tiles layouts? This is a dealbreaker for me.

MelSumner commented 1 year ago

Clarifying question: why not use grid css? There doesn’t seem to be anymore explicit need for tables or grid roles for layout anymore.

scottaohara commented 1 year ago

the topic here is not about visual layout / CSS - but the keyboard interactions that come with properly implemented grid roles.

it's not actually called out in the ARIA spec, to use grids for layout purposes or not. Rather this is an APG issue - where there is also an existing issue calling for its removal - https://github.com/w3c/aria-practices/issues/1233

stes-acc commented 1 year ago

I agree this being an APG issue. Thanks for the APG link. Nevertheless the consequences for the ARIA spec (mentioning that grid role is explicitly NOT meant for responsive layout purposes) should be persisted within the grid role definition chapter and this should be discussed at the F2F!

spectranaut commented 1 year ago

To dicuss during the F2F with https://github.com/w3c/aria/issues/1994