3 ms·
I wouldn’t do this, or at least I’d do a bunch of accessibility testing before implementing this (something which wasn’t mentioned in the article). Assistive t
by robin_reala 7y ago
I wouldn’t do this, or at least I’d do a bunch of accessibility testing before implementing this (something which wasn’t mentioned in the article).
Assistive tech allows column and row access to tables that have the default display:table styling. Setting them to display:block (a common approach for mobile historically) typically removes the ability for people to navigate in this way. I would imagine that changing to display:grid does the same.
More info at https://vimeo.com/139062429 https://vimeo.com/139062429 as an example.
- Macha 7y agoWould setting the appropriate aria roles help here?
- gedy 7y agoYes I believe so, there are ARIA roles for tabular data: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Rowgroup_Role https://developer.mozilla.org/en-US/docs/Web/Accessibility/A...
- robin_reala 7y agoThat relies on assistive tech supporting them. I’m not saying they don’t, but historically it’s been lacking. Great if they do, but testing would absolutely be needed.