Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Responsive Table pattern loses semantics at narrow size #257

Open
aardrian opened this issue Sep 5, 2019 · 1 comment
Open

Responsive Table pattern loses semantics at narrow size #257

aardrian opened this issue Sep 5, 2019 · 1 comment

Comments

@aardrian
Copy link

aardrian commented Sep 5, 2019

Issue

For the responsive table on this page:
https://a11y-style-guide.com/style-guide/section-structure.html

When the narrow viewport styles kick in, the semantics are lost. This is a known issue across browsers (back to 2011 and again in 2018).

This means a screen reader user will get no structure, and will be unable to navigate the content as a table.

ARIA table roles can fix this until browsers fix their bugs. I have a function authors can use in the meantime. Cannot find bugs right now.

The accessibility inspector in Chrome/Windows showing the example table in a large viewport. The table structure is visible.
2019-09-05 (1)

The accessibility inspector in Chrome/Windows showing the example table in a narrow viewport. The table structure is now absent.
2019-09-05 (2)

@cehfisher
Copy link
Owner

Yes, responsive tables have some issues to work out for sure. I'll look into implementing the pattern updates you suggest and will send it back to you for a quick review soon. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants