-
Notifications
You must be signed in to change notification settings - Fork 38
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
Spanning row/column example missing required attributes #308
Comments
I never understood what the Or do I misunderstand something here? |
@jmuheim The As such, tables should generally avoid spanning cells when possible: https://adrianroselli.com/2023/02/avoid-spanning-table-headers.html Sadly, those browser bugs I link are less likely to be fixed if people are not using the correct pattern. |
And this has finally been fixed, too. Thank you so much, @aardrian, for the time you spent documenting these issues. |
On second thought: @LAST2024, could you please check whether https://www.accessibility-developer-guide.com/examples/tables/spanning-rows-cols/#tricky-screen-reader-navigation is still accurate when navigating https://www.accessibility-developer-guide.com/examples/tables/spanning-rows-cols/_examples/table-spanning-multiple-rows-and-columns/ in NVDA? The text:
|
Looking at this page:
https://www.accessibility-developer-guide.com/examples/tables/spanning-rows-cols/
It shows
<th>
s that span but does not include the requiredid
andheaders
attribute in the associated<th>
s or<td>
s.Eg:
The content under the heading "Tricky screen reader navigation" makes assertions about how screen readers read this table, but those assertions are based on an invalid pattern.
Correct code might look like this:
I have an example here:
https://adrianroselli.com/2017/11/hey-its-still-ok-to-use-tables.html#WCAGSpanning
Which is based on this WCAG example:
https://www.w3.org/TR/WCAG20-TECHS/H43.html
The text was updated successfully, but these errors were encountered: