Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-13297

View Repositories : Error messages not accessible to screen reader users.

    XMLWordPrintable

Details

    Description

      Issue Summary

      In the Size filter input field when the user searches for a non-existing file size repository an error message is shown but is not accessible to the assistive technology user.

      Steps to Reproduce

      1. Navigate to the size filter and activate it.
      2. Using the screen reader, in the input field enter some numeric value of which the size of the repository is not available until an error message shows up.

      Screenshot

      Screen recording

      Screen Recording 2022-05-03 at 5.43.32 PM.mov

       

      Actual Results

      When users search for a non-existing file size repository in the Size filter input field, an error message gets displayed "Invalid size range. Try again using a To size that is greater than the From size." and the keyboard focus remains on the input itself. As a result, screen reader users were unaware of the occurrence of errors on the page.

      Expected Results

      When error messages get dynamically added on or around the form fields, screen readers should be informed about the error being added on the page to ensure that users are aware of the errors.

      Additionally, add the 'aria-describedby' attribute to the form field. The value should match the “id” attribute of the error message.

      Workaround

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

      Bug Ref: 735464

      Attachments

        Issue Links

          Activity

            People

              52f5862bfeac Viacheslav Bezborodov
              2b3f463b7e2d Akhilesh Paradhi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: