You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dropdown menu for the "Categories" and the "Language" do not close when user presses tab on the last element element or presses shift + tab on the first element in the dropdown menu
#4936
Closed
ishucr7 opened this issue
May 14, 2018
· 3 comments
· Fixed by #5974
The expected behaviour
The dropdown menus should work similar to what the about and profile dropdown behave with the keyboard. I.e on pressing
tab on the last element, the dropdown must close and the focus should be passed on to the next element.
shift + tab on the first element, the dropdown must close and the focus should be passed on to the previous element.
The Observed behaviour
The dropdown menu for the "Categories" and the "Language" in the search bar in Library, do not close when the user presses shift + tab on the first element in the dropdown menu or presses tab on the last element of the dropdown menu.
Steps to reproduce the problem
Go to the library page, navigate to the "All Categories" and press enter. Using tab button, navigate to the first element in the dropdown. Press shift + tab. The focus shifts to the previous element but it doesn't close the dropdown menu as expected.
Attached is the screen shot-- It shows that we could navigate to another dropdown with the "All Categories" dropdown open.
All of the above navigation is done with the help of the keyboard.
For reference look at the issue
And a PR for it's subpart.
The text was updated successfully, but these errors were encountered:
…ile dropdown behave with the keyboard. (#5974)
* #4936 adds tab and shift-tab navigation feature
* section now closes when opened with mouseclick
* Removed unwanted functions
* Fixed function issues - added necessary functions
* Added Service
* Added service to top-navigation-bar
* Added NavigationService to aboutMenu
* fixed linting errors
* removed spaces
* removed comments
* made rootScope accessible in html
* removed use of rootScope
* resolved merge conflict
* fixed pattern errors
* changed fileoverview
The dropdown menus should work similar to what the about and profile dropdown behave with the keyboard. I.e on pressing
tab on the last element, the dropdown must close and the focus should be passed on to the next element.
shift + tab on the first element, the dropdown must close and the focus should be passed on to the previous element.
The Observed behaviour
The dropdown menu for the "Categories" and the "Language" in the search bar in Library, do not close when the user presses shift + tab on the first element in the dropdown menu or presses tab on the last element of the dropdown menu.
Steps to reproduce the problem
Go to the library page, navigate to the "All Categories" and press enter. Using tab button, navigate to the first element in the dropdown. Press shift + tab. The focus shifts to the previous element but it doesn't close the dropdown menu as expected.
Attached is the screen shot-- It shows that we could navigate to another dropdown with the "All Categories" dropdown open.
All of the above navigation is done with the help of the keyboard.
For reference look at the issue
And a PR for it's subpart.
The text was updated successfully, but these errors were encountered: