dspace-angular
dspace-angular copied to clipboard
Search filter change reloads page without warning to user
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:
- Visit the search page on the sandbox, demo, or localhost (.../search?query=)
- Expand any search filter
- 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