-
Enhancement
-
Resolution: Unresolved
-
P4
-
16, 17, 18, 19, 20, 21
Since we are using CSS grid layout for tables in javadoc generated pages (JDK-8253117) the structure of table data is no longer reflected in the markup - it's just a linear sequence of `<div>` elements with specific attributes.
It would be nice to have HTML elements that semantically represent table rows again. The most likely way we can implement this is by using the `display: contents` CSS property which allows to apply grid layout to the child nodes of a grid element. This article [https://hidde.blog/more-accessible-markup-with-display-contents/] gives a good overview about the state of `display: contents` and its role for more accessible web pages.
`display:contents` is now implemented in most browsers we support[1], but we also must make sure our solution renders gracefully on older browsers, which may force us to delay this enhancement for a bit.
[1]: https://caniuse.com/css-display-contents
It would be nice to have HTML elements that semantically represent table rows again. The most likely way we can implement this is by using the `display: contents` CSS property which allows to apply grid layout to the child nodes of a grid element. This article [https://hidde.blog/more-accessible-markup-with-display-contents/] gives a good overview about the state of `display: contents` and its role for more accessible web pages.
`display:contents` is now implemented in most browsers we support[1], but we also must make sure our solution renders gracefully on older browsers, which may force us to delay this enhancement for a bit.
[1]: https://caniuse.com/css-display-contents
- relates to
-
JDK-8253117 Replace HTML tables in javadoc summaries with CSS grid elements
-
- Resolved
-