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

Accessibility issues in java.desktop

    Details

      Backports

        Description

        1. See http://hg.openjdk.java.net/jdk/jdk/file/aa0344e6f39b/src/java.desktop/share/classes/javax/swing/text/JTextComponent.java#l174

        <th scope="row" headers="stage">2.

        headers attribute refers to not existing id

        2. Extra anchor with id http://hg.openjdk.java.net/jdk/jdk/file/aa0344e6f39b/src/java.desktop/share/classes/javax/swing/JTree.java#l49
        /**
         * <a id="jtree_description"></a>
         * A control that displays a set of hierarchical data as an outline.

        leads to extra space in documentation and to non unique ids on package use page
        https://download.java.net/java/jdk10/docs/api/javax/swing/package-use.html

         see attached screenshots

        3. Documents have no main landmarks. https://www.w3.org/TR/WCAG20-TECHS/ARIA11.html
        and all content should be contained in a landmark region

        docs/api/java.desktop/java/awt/doc-files/AWTThreadIssues.html
        docs/api/java.desktop/java/awt/doc-files/DesktopProperties.html
        docs/api/java.desktop/java/awt/doc-files/Modality.html
        docs/api/java.desktop/java/awt/doc-files/FocusSpec.html
        docs/api/java.desktop/javax/swing/plaf/multi/doc-files/multi_tsc.html
        docs/api/java.desktop/javax/swing/plaf/synth/doc-files/synthFileFormat.html
        docs/api/java.desktop/javax/swing/plaf/synth/doc-files/componentProperties.html
        docs/api/java.desktop/javax/swing/plaf/nimbus/doc-files/properties.html
        docs/api/java.desktop/javax/imageio/metadata/doc-files/bmp_metadata.html
        docs/api/java.desktop/javax/imageio/metadata/doc-files/standard_metadata.html
        docs/api/java.desktop/javax/imageio/metadata/doc-files/tiff_metadata.html
        docs/api/java.desktop/javax/imageio/metadata/doc-files/wbmp_metadata.html
        docs/api/java.desktop/javax/imageio/metadata/doc-files/jpeg_metadata.html
        docs/api/java.desktop/javax/imageio/metadata/doc-files/gif_metadata.html
        docs/api/java.desktop/javax/imageio/metadata/doc-files/png_metadata.html

        4. Insufficient contrast
        docs/api/java.desktop/javax/swing/text/html/HTMLDocument.html
          - <li>List Item</li> (occur 6 times)
          - <span style="color: red (occur 16 times)

        docs/api/java.desktop/javax/swing/plaf/basic/BasicTextUI.html
          - <p style="color:red
          - <b>NOTE:</b>

        5. Heading order invalid https://dequeuniversity.com/rules/axe/3.0/heading-order?application=webdriverjs
        docs/api/java.desktop/java/awt/doc-files/Modality.html body > h3:nth-child(8)
        docs/api/java.desktop/java/awt/doc-files/FocusSpec.html body > h3:nth-child(13)
        docs/api/java.desktop/javax/imageio/metadata/doc-files/tiff_metadata.html <h3><a id="Reading">Reading Images</a></h3>

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  serb Sergey Bylokhov
                  Reporter:
                  anazarov Andrey Nazarov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: