Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SC 1.3.1: Responsive stacked table #4137

Open
Ignacio-de-Loyola opened this issue Nov 7, 2024 · 1 comment
Open

SC 1.3.1: Responsive stacked table #4137

Ignacio-de-Loyola opened this issue Nov 7, 2024 · 1 comment

Comments

@Ignacio-de-Loyola
Copy link

Ignacio-de-Loyola commented Nov 7, 2024

If the table structure and markup structure that can be seen on the screen are different, does responsive table fail 1.3.1?

For example, in the Bordered table of the U.S. Design System, the actual HTML markup structure is a table with 4 rows and 3 columns, but on the screen, the list format of the ul, li markup structure seems appropriate.

When a user (low vision) using a screen reader while looking at the screen navigates the table, the markup structure is 3 columns, so when navigating with the arrow keys, he or she will select the right arrow key. However, the user who is looking at the screen may think that he or she should select the down arrow key.

Is SC 1.3.1 a success if only the structure of the table can be understood programmatically? Or can it be considered a failure if the information on the screen and the table structure are different?

[Table example with rows of tables stacked down]
image

@patrickhlauke
Copy link
Member

to me, that won't fail. what matters isn't that the markup be a 1-to-1 match of what's visually presented, but rather that relationships are preserved so that the meaning is conveyed correctly, whether you consume the content visually or via a screen reader/other AT.

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

No branches or pull requests

2 participants