aria icon indicating copy to clipboard operation
aria copied to clipboard

Discourage use of grid role for layout purposes

Open stes-acc opened this issue 2 years ago • 4 comments

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.

stes-acc avatar Aug 17 '23 17:08 stes-acc

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

MelSumner avatar Aug 17 '23 19:08 MelSumner

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

scottaohara avatar Aug 17 '23 21:08 scottaohara

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!

stes-acc avatar Aug 18 '23 08:08 stes-acc

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

spectranaut avatar Aug 21 '23 22:08 spectranaut