Registration screen: Incorrect 'tabindex' value in search fields

Hi guys!

When navigating from one field to the other with the Tab key, in the Search screen in Bahmni, the focus is in the wrong order:

On the demo:

Steps to reproduce:

Seems like the culprit is here: https://github.com/Bahmni/openmrs-module-bahmniapps/blob/master/ui/app/registration/views/search.html#L26

If there is no particular reason for this and we agree that’s a bug, then here are the PRs: https://github.com/Bahmni/openmrs-module-bahmniapps/pull/64 https://github.com/Bahmni/openmrs-module-bahmniapps/pull/65

2 Likes

Thank you @mksrom for the PRs. Product team would merge them once they review. I am unaware of any particular reason for this change and thinking that it would be mistake.