-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
PeoplePicker keyboard focus state: Add styles to PeoplePicker to fix keyboard focus state ratio #14124
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 83acd3b:
|
Asset size changes
Over Tolerance (1024 B) Over Baseline Below Baseline New Removed 1 kB = 1000 B Baseline commit: f7feb25732b3c959b6da4abd5a6c1dcb020c16a3 (build) |
Hm this doesn't look quite right: (when it has focus and on hover) @betrue-final-final , can you advice what the expected behavior should be in the hovered case? |
packages/office-ui-fabric-react/src/components/pickers/Suggestions/SuggestionsItem.styles.ts
Outdated
Show resolved
Hide resolved
packages/office-ui-fabric-react/src/components/pickers/Suggestions/SuggestionsItem.styles.ts
Outdated
Show resolved
Hide resolved
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
apps/a11y-tests/src/tests/__snapshots__/ComponentExamples.test.tsx.snap
Outdated
Show resolved
Hide resolved
🎉 Handy links: |
Pull request checklist
$ yarn change
Description of changes
The keyboard focus state for the message bar in PeoplePicker is currently below 3:1
Before
The fix is to add a neutralSecondary 1px border, similar to dropdownItems
After
Focus areas to test
(optional)