RFR: 8184208: update class="striped" tables for accessibility
jonathan.gibbons at oracle.com
Tue Jul 11 21:39:08 UTC 2017
Please review this auto-generated update to improve the accessibility of
many of the tables
in the API docs for the java.base module.
The changes are just to the HTML markup for selected tables;
there is no change to the wording of any documentation.
This update was generated by a utility program that looks for tables
CSS style class "striped", and updates those tables as follows:
* header cells (<th>) in the <thead> now declare scope="col"
* the first data cell (<td>) in each row in the <tbody> are changed to <th>
and declare scope="row".
Although these cells are changed from <td> to <th>, the CSS still
uses font-weight-normal for
The changes are in line with HTML 5 and WCAG 2.0.
This update does not include the following tables, which will be done
* tables with CSS class "borderless" (18), "plain" (37), or no class (6)
* tables in java.time.chrono (5): although these table use "striped",
the first column does not contain unique values, and is therefore
unsuited for the
All the modifiied tables have been visually checked with an
More information about the core-libs-dev