You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Safari 14 through 16, and probably earlier versions, has a series of bugs where display properties on cells can cause problems with column and row count, header associations, and navigation.
Tables with display: flex on the <tr> cannot be navigated into using swipe gestures (swipe right or left).
Tables with display: flex on the <tr> are skipped when using read-all.
Tables with display: grid on the <tr> cannot be navigated into using swipe gestures (swipe right or left).
Tables with display: grid on the <tr> are skipped when using read-all.
Tables with display: block on the <td> and <th> give the wrong column count.
Tables with display: block on the <td> and <th> announce each <th> with the first <th> when first entering a row.
Tables with display: block on the <td> and <th> announce each column header <th> as a row header.
Tables with display: block on the <td> and <th> announce each column header <th> as column 1.
Tables with display: block on the <td> and <th> announce each <td> with the wrong or no column header.
Tables with display: block on the <td> and <th> announce each <td> as column 1.
Tables with display: inline-block on the <td> and <th> give the wrong column count.
Tables with display: inline-block on the <td> and <th> announce each <th> with the first <th> when first entering a row.
Tables with display: inline-block on the <td> and <th> announce each column header <th> as a row header.
Tables with display: inline-block on the <td> and <th> announce each column header <th> as column 1.
Tables with display: inline-block on the <td> and <th> announce each <td> with no column header.
Tables with display: inline-block on the <td> and <th> announce each <td> as column 1.
Tables with display: contents on the <td> cannot be navigated into using swipe gestures (swipe right or left).
Tables with display: contents on the <td> are skipped when using read-all.
What browsers does this problem apply to, if applicable?
Safari
What did you expect to see?
The chart should represent that tables are no longer exposed correctly when paired with many CSS display properties.
What type of issue is this?
Incorrect support data (example: Chrome says "86" but support was added in "40")
What information was incorrect, unhelpful, or incomplete?
My intent was to edit the data in here, but I don't understand it:
https://github.com/mdn/browser-compat-data/blob/main/html/elements/table.json
Safari 14 through 16, and probably earlier versions, has a series of bugs where
display
properties on cells can cause problems with column and row count, header associations, and navigation.display: flex
on the<tr>
cannot be navigated into using swipe gestures (swipe right or left).display: flex
on the<tr>
are skipped when using read-all.display: grid
on the<tr>
cannot be navigated into using swipe gestures (swipe right or left).display: grid
on the<tr>
are skipped when using read-all.display: block
on the<td>
and<th>
give the wrong column count.display: block
on the<td>
and<th>
announce each<th>
with the first<th>
when first entering a row.display: block
on the<td>
and<th>
announce each column header<th>
as a row header.display: block
on the<td>
and<th>
announce each column header<th>
as column 1.display: block
on the<td>
and<th>
announce each<td>
with the wrong or no column header.display: block
on the<td>
and<th>
announce each<td>
as column 1.display: inline-block
on the<td>
and<th>
give the wrong column count.display: inline-block
on the<td>
and<th>
announce each<th>
with the first<th>
when first entering a row.display: inline-block
on the<td>
and<th>
announce each column header<th>
as a row header.display: inline-block
on the<td>
and<th>
announce each column header<th>
as column 1.display: inline-block
on the<td>
and<th>
announce each<td>
with no column header.display: inline-block
on the<td>
and<th>
announce each<td>
as column 1.display: contents
on the<td>
cannot be navigated into using swipe gestures (swipe right or left).display: contents
on the<td>
are skipped when using read-all.What browsers does this problem apply to, if applicable?
Safari
What did you expect to see?
The chart should represent that tables are no longer exposed correctly when paired with many CSS display properties.
Did you test this? If so, how?
Test page:
https://cdpn.io/pen/debug/xxGEKKJ
Attached video demonstrates bugs:
https://github.com/mdn/browser-compat-data/assets/1376607/0163a1db-0fc0-4e29-93bb-f430d954ea1f
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
https://bugs.webkit.org/show_bug.cgi?id=257458
I have also been tracking this since 2020:
https://adrianroselli.com/2022/07/its-mid-2022-and-browsers-mostly-safari-still-break-accessibility-via-display-properties.html
Do you have anything more you want to share?
Related existing issue: css.properties.display - Safari (thru 16) flex, grid, contents problems #17776
MDN URL
No response
MDN metadata
No response
The text was updated successfully, but these errors were encountered: