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

javadoc should not set role=region on <section> elements

XMLWordPrintable

        Accessibility checkers are reporting problems with the use of <section role=region>.

        The HTML5 spec says that the value should not be set on <section> elements.

        https://www.w3.org/TR/html5/sections.html#the-section-element

        Allowed ARIA role attribute values:
            region role (default - do not set), alert, alertdialog, application, contentinfo , dialog, document, feed, log, main, marquee, presentation, region, search, status or tabpanel.

        Currently, the attribute is unconditionally set in the HtmlTree.SECTION methods. The attribute should not be set.

              pmuthuswamy Priya Lakshmi Muthuswamy (Inactive)
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: