SSAgov / ANDI

A tool to test web content for accessibility and 508 compliance.
https://www.ssa.gov/accessibility/andi/help/howtouse.html
Other
302 stars 76 forks source link

The previous and next buttons for hidden content have a problem with looping. #166

Open ollie-iterators opened 1 year ago

ollie-iterators commented 1 year ago

Brief Description The previous and next buttons for hidden content do not allow the user to loop through the elements and always stops going forward or backwards when you have reached the last element revealed going forwards or the first element that is revealed going backwards.

Screengrab/videos (insert file names here) https://user-images.githubusercontent.com/46904826/200187576-b1ef5747-48e1-4fd5-aaae-8516a09b4882.mp4

Link https://www.boston.gov/

Environment (Device > OS > Browser): Macbook Air > MacOS 13.0 > Chrome 107

Type of Bug: Functional, Accessibility or Content Functional

Steps to reproduce

  1. 00:00: Load the URL
  2. 00:02, Click ANDI. Hover over the module selection area
  3. 00:04, Click "hidden content"
  4. 00:06, Click "css hiding techniques"
  5. 00:07, Click "7 display:none"
  6. 00:09, Click on the previous element button until you stop going to a different element a. BUG: 00:12, You can not go to a different element by clicking on the previous button because you are now at the first element that has been revealed
  7. 00:18, Click on the next element button until you stop going to a different element a. BUG: 00:21, You can not go to a different element by clicking on the next button because you are now at the last element that has been revealed

Desired Result

Actual Result