Dropdown: do not select first option automatically unless it's selected using keyboard navigation#10755
Conversation
Asset size changes
Baseline commit: 25b3c4b429e592c8d61208f11e808c4d1cbc82a7 (build) |
Component Perf AnalysisNo significant results to display. All results
|
|
Looks like screener caught a regression; take a look at the failed screener result and check the problem state. :) |
The changes look expected. according to the wiki, i need admin to approve these screener test failures. Could you help double check the changes and approve if look good? :) P.S. the way github lets you reply a comment feels unintuitive to me . let me know if im doing this wrong :) |
|
Hello @cliffkoh! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
khmakoto
left a comment
There was a problem hiding this comment.
Made one small suggestion but otherwise LGTM 👍
|
🎉 Handy links: |
…ed using keyboard navigation (microsoft#10755)* do not select first option by default for non-aria case* update snapshots* code cleanup* yarn change* add Aria doc link inline* resolve comment* simplify to use one class vars rather than two* resolve comments
unless it's selected using keyboard navigation (microsoft#10755) * do not select first option by default for non-aria case * update snapshots * code cleanup * yarn change * add Aria doc link inline * simplify to use one class vars rather than two
unless it's selected using keyboard navigation (#10755) * do not select first option by default for non-aria case * update snapshots * code cleanup * yarn change * add Aria doc link inline * simplify to use one class vars rather than two
|
What is the "aria guidance" referenced above? It seems quite strange that tabbing through an item should change it. |
Pull request checklist
$ yarn changeDescription of changes
In case of keyboard navigation to dropdown, per aria guidance, dropdown should select first option by default on focus. But we do not want to do this if user clicked and opened the dropdown.


Before:
After:
Microsoft Reviewers: Open in CodeFlow