Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explore pages contain form elements with non-unique ID values #45

Open
saschaszott opened this issue Aug 8, 2023 · 0 comments
Open
Labels

Comments

@saschaszott
Copy link

(note: this issue was moved from 4Science/DSpace#369)

Some pages contain DOM form elements ( select and input) with non-unique IDs. The warnings above were taken from the browser console.

/explore/researcherprofiles

Found 3 elements with non-unique id #filter: (More info: https://goo.gl/9p2vKq) <select name=​"filter" id=​"filter" formcontrolname=​"filter" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value=​"all">​…​</select>​ <select name=​"filter" id=​"filter" formcontrolname=​"filter" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value=​"all">​…​</select>​ <select name=​"filter" id=​"filter" formcontrolname=​"filter" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value=​"all">​…​</select>​

Found 2 elements with non-unique id #operation: (More info: https://goo.gl/9p2vKq) <select name=​"operation" id=​"operation" formcontrolname=​"operation" class=​"form-control ng-untouched ng-pristine ng-valid ng-star-inserted" value=​"AND">​…​</select>​ <select name=​"operation" id=​"operation" formcontrolname=​"operation" class=​"form-control ng-untouched ng-pristine ng-valid ng-star-inserted" value=​"AND">​…​</select>​

Found 3 elements with non-unique id #query: (More info: https://goo.gl/9p2vKq) <input type=​"text" name=​"query" id=​"query" formcontrolname=​"query" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value>​ <input type=​"text" name=​"query" id=​"query" formcontrolname=​"query" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value>​ <input type=​"text" name=​"query" id=​"query" formcontrolname=​"query" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value>​

/explore/fundings_and_projects

Found 3 elements with non-unique id #filter: (More info: https://goo.gl/9p2vKq) <select name=​"filter" id=​"filter" formcontrolname=​"filter" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value=​"all">​…​</select>​ <select name=​"filter" id=​"filter" formcontrolname=​"filter" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value=​"all">​…​</select>​ <select name=​"filter" id=​"filter" formcontrolname=​"filter" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value=​"all">​…​</select>​

Found 2 elements with non-unique id #operation: (More info: https://goo.gl/9p2vKq) <select name=​"operation" id=​"operation" formcontrolname=​"operation" class=​"form-control ng-untouched ng-pristine ng-valid ng-star-inserted" value=​"AND">​…​</select>​ <select name=​"operation" id=​"operation" formcontrolname=​"operation" class=​"form-control ng-untouched ng-pristine ng-valid ng-star-inserted" value=​"AND">​…​</select>​

Found 3 elements with non-unique id #query: (More info: https://goo.gl/9p2vKq) <input type=​"text" name=​"query" id=​"query" formcontrolname=​"query" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value>​ <input type=​"text" name=​"query" id=​"query" formcontrolname=​"query" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value>​ <input type=​"text" name=​"query" id=​"query" formcontrolname=​"query" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value>​

/explore/researchoutputs

Found 3 elements with non-unique id #filter: (More info: https://goo.gl/9p2vKq) <select name=​"filter" id=​"filter" formcontrolname=​"filter" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value=​"all">​…​</select>​ <select name=​"filter" id=​"filter" formcontrolname=​"filter" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value=​"all">​…​</select>​ <select name=​"filter" id=​"filter" formcontrolname=​"filter" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value=​"all">​…​</select>​

Found 2 elements with non-unique id #operation: (More info: https://goo.gl/9p2vKq) <select name=​"operation" id=​"operation" formcontrolname=​"operation" class=​"form-control ng-untouched ng-pristine ng-valid ng-star-inserted" value=​"AND">​…​</select>​ <select name=​"operation" id=​"operation" formcontrolname=​"operation" class=​"form-control ng-untouched ng-pristine ng-valid ng-star-inserted" value=​"AND">​…​</select>​

Found 3 elements with non-unique id #query: (More info: https://goo.gl/9p2vKq) <input type=​"text" name=​"query" id=​"query" formcontrolname=​"query" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value>​ <input type=​"text" name=​"query" id=​"query" formcontrolname=​"query" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value>​ <input type=​"text" name=​"query" id=​"query" formcontrolname=​"query" class=​"form-control mr-2 ng-untouched ng-pristine ng-valid" value>​
@saschaszott saschaszott added the bug label Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant