dspace-angular icon indicating copy to clipboard operation
dspace-angular copied to clipboard

Search filter change reloads page without warning to user

Open hostle83 opened this issue 1 year ago • 4 comments

Describe the bug According to WCAG 2 Success Criterion: 3.2.2 On Input (A), users should be warned before a change of context occurs on a site. Currently, any change to a search filter selection reloads content and the page and there is no announcement to a screen reader user (exception: date range filter, this has been updated, see https://github.com/DSpace/dspace-angular/issues/3094) See https://www.w3.org/WAI/WCAG21/Understanding/on-input.html for reference.

To Reproduce Steps to reproduce the behavior:

  1. Visit the search page on the sandbox, demo, or localhost (.../search?query=)
  2. Expand any search filter
  3. Adjust the search by using any filter

Expected behavior Either warn the user of the change of context (reload) beforehand, or give the user to activate the change themselves by providing a button or similar functionality

Related work https://github.com/DSpace/dspace-angular/issues/3094

hostle83 avatar Sep 04 '24 17:09 hostle83