-
Notifications
You must be signed in to change notification settings - Fork 912
fix-combobox-a11y #13308
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
base: master
Are you sure you want to change the base?
fix-combobox-a11y #13308
Conversation
…ccessibility Signed-off-by: Parth Raiyani <[email protected]> Change-Id: Ifc5612c1b016d1b9e915826bafc90728d3304e68
…ccessibility guideline Signed-off-by: Parth Raiyani <[email protected]> Change-Id: I0696c517e52c05766e5360f0beee69364babba21
- added default selection to first item from dropdown if none is selected - enhanced setupInitialFocus to have focus on first selectable item - updated isFocusable method to make listbox -> options focusable Change-Id: Ie9c3c552ae860c6edee2c259804dd3f0730367b6 Signed-off-by: Parth Raiyani <[email protected]>
…essibility Signed-off-by: Parth Raiyani <[email protected]> Change-Id: I31842d6ed3d2643742e21da093dfa0ca350f3ccc
…stbox Signed-off-by: Parth Raiyani <[email protected]> Change-Id: I96ff2acedae0928deaf46a8fcb86705e11da4c4a
…ssibility compliance Signed-off-by: Parth Raiyani <[email protected]> Change-Id: I4a3bad96f0e1f713d1eea8653fbaba240dda942a
…listbox navigation Change-Id: Id83abc8201b895ba824c7795dec787cef50e1232 Signed-off-by: Parth Raiyani <[email protected]>
…page margin entry widget - This change wil ensure that by default first is selected and gets initial focus. - Added logic to close the dropdown on tab Signed-off-by: Parth Raiyani <[email protected]> Change-Id: I95f835c88fee6708f4735e1abef30ab75c804ef8
…to trigger relevant selection logic in page margin widget Signed-off-by: Parth Raiyani <[email protected]> Change-Id: Ie8a2735655a6fe14e00d023b554c48bafcfce47d
44b0748 to
cdd7c8b
Compare
Added last two changes with this update. |
| selected: (i === 0 && shouldSelectFirstEntry) ? true : entries[i].selected, | ||
| hasSubMenu: !!entries[i].items | ||
| }; | ||
| if(entry.selected) initialSelectedId = entry.id; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if_ (space)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks:) I fixed this now. Will it be okay if I start with this file and remove it from .beforeprettier as a separate PR?
eszkadev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, thanks :)
|
tests are failing and it looks like related |
|
|
please fix code formatting: |
Change-Id: Ic8544a66f620c4b20c95d2a39864ae65c0548518 Signed-off-by: Parth Raiyani <[email protected]>
5c2bc0b to
e3c121c
Compare


Navigation Preview:
msedge_ZUugqTjvfl.mp4
Changes:
Widget.PageMarginEntryto also behave as above.EnterandSpacekey accessibility inWidget.PageMarginEntryChecklist
make prettier-writeand formatted the code.make checkmake runand manually verified that everything looks okay