-
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
SearchBox: Making role on root div opt in #15621
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 e1022ce:
|
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
Asset size changesUnable to find bundle size details for Baseline commit: 820f5a3 Possible causes
Recommendations
|
@msft-github-bot merge in 1 minute |
Hello @khmakoto! Because you've given me some instructions on how to help merge this pull request, I'll be modifying my merge approach. Here's how I understand your requirements for merging this pull request:
If this doesn't seem right to you, you can tell me to cancel these instructions and use the auto-merge policy that has been configured for this repository. Try telling me "forget everything I just told you". |
<!-- !!!!!!! IMPORTANT !!!!!!! Due to work we're currently doing to prepare master branch for our version 8 beta release, please hold-off submitting the PR until around October 12 if it's not urgent. If it is urgent, please submit the PR targeting the 7.0 branch. This change does not apply to react-northstar contributors. See microsoft#15222 for more details. Sorry for the inconvenience and short notice. --> #### Pull request checklist - [ ] Addresses an existing issue: Fixes #0000 - [x] Include a change request file using `$ yarn change` #### Description of changes _Cherry-pick of microsoft#15450._ _Original PR description:_ ## Before: This JSX: ``` <SearchBox /> ``` Renders this HTML: ```jsx <div role="search"> <input ... /> </div> ``` ## After: This JSX: ``` <SearchBox /> <SearchBox role="search" /> ``` Renders this HTML: ```jsx <div> <input ... /> </div> <div role="search"> <input ... /> </div> ```
Pull request checklist
$ yarn change
Description of changes
Cherry-pick of #15450.
Original PR description:
Before:
This JSX:
Renders this HTML:
After:
This JSX:
Renders this HTML: