Issue Summary

      On the "Average Age Report" page, grouping is provided unnecessarily for form fields such as "periods" and "Days previously"

      Steps to Reproduce

      1. Navigate to “Boards” menu pop-up link and activate it.
      2. Navigate to “Scrum” link and activate it.
      3. Navigate to “Report” link present in Side navigation and activate it.
      4. Navigate to "Average Age Report" link and activate it.
      5. Navigate to mentioned field and listen the screen reader announcement.

      Actual Results

      The form fields such as "Periods" and "Days Previously" are grouped unnecessarily using <fieldset> and <legend> elements. Additionally, the instructions such as "The length of period represented on the graph" and "Days (including today to show in the group)" are marked-up using <label> tag. As a result, screen reader users might get confused to understand the purpose of form fields effectively.

      Expected Result

      Apply the following changes

      • Remove the <fieldset> and <legend> tags from the mentioned form fields and code them using <label> tags.
      • Associate the mentioned form fields with their labels using "for" and "id" attributes.
      • Provide "aria-describedby" attribute to the form field and reference the "id" value of the <label> tag used to display the instruction text in the "aria-describedby" attribute. 

      Screenshot

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Environment

      MacBook Pro (13-inch, 2020)
      macOs Ventura  13.3.1
      Chrome - Version 108.0.5359.124 (Official Build) (64-bit)
      Firefox- Version 92.0 (64-bit)
      Safari- Version 16.2 (18614.3.7.1.5)
      JAWS- Version 2021
      NVDA- Version 2021.2
      Voiceover - Version Latest

            [JSWSERVER-26204] Average Age Report : Form field labelled incorrectly

              34a5d0a5a65c Pavlo Samchuk
              c1baca6cb430 Sameer Shaikh
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: