Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8225146

Accessibility issues in javax/swing/plaf/nimbus/doc-files/properties.html

    Details

      Backports

        Description

        The file src/java.desktop/share/classes/javax/swing/plaf/nimbus/doc-files/properties.html has two <h1>. This is an accessibility violation.

        $ grep -r '<h1' src/java.desktop/share/classes/javax/swing/plaf/nimbus/doc-files
        src/java.desktop/share/classes/javax/swing/plaf/nimbus/doc-files/properties.html:<h1 id="primaryColors">Primary Colors</h1>
        src/java.desktop/share/classes/javax/swing/plaf/nimbus/doc-files/properties.html:<h1 id="secondaryColors">Secondary Colors</h1>

        I suggest reducing the rank of these two headings to <h2> and inserting a new <h1> for the page.

        Also, the tables do not contain any row headings ... i.e. cells that are unique within the column and containing `scope="row"`.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  serb Sergey Bylokhov
                  Reporter:
                  jjg Jonathan Gibbons
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: