On Mon, 8 Nov 2021 18:25:01 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> This change introduces no visual difference, but improves a11y.
>
> Ludvig, could you please elaborate on how this change improves accessibility?

@aivanov-jdk Gladly. 
[Doccheck](https://openjdk.java.net/projects/code-tools/doccheck/) flagged it, 
my understanding is that every row needs to have a unique row header to aid 
screen readers. The previous code had one cell work as header for two rows. 

One could perhaps look at [the 
standards](https://html.spec.whatwg.org/multipage/tables.html#attr-tdth-headers)
 and implement something even better, but this is what I came up with.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6291

Reply via email to