File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
packages/core/src/internal/data-grid-search Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -408,6 +408,7 @@ const DataGridSearch: React.FunctionComponent<DataGridSearchProps> = p => {
408
408
onKeyDownCapture = { onSearchKeyDown }
409
409
/>
410
410
< button
411
+ type = "button"
411
412
aria-label = "Previous Result"
412
413
aria-hidden = { ! showSearch }
413
414
tabIndex = { showSearch ? undefined : - 1 }
@@ -416,6 +417,7 @@ const DataGridSearch: React.FunctionComponent<DataGridSearchProps> = p => {
416
417
{ upArrow }
417
418
</ button >
418
419
< button
420
+ type = "button"
419
421
aria-label = "Next Result"
420
422
aria-hidden = { ! showSearch }
421
423
tabIndex = { showSearch ? undefined : - 1 }
@@ -425,6 +427,7 @@ const DataGridSearch: React.FunctionComponent<DataGridSearchProps> = p => {
425
427
</ button >
426
428
{ onSearchClose !== undefined && (
427
429
< button
430
+ type = "button"
428
431
aria-label = "Close Search"
429
432
aria-hidden = { ! showSearch }
430
433
data-testid = "search-close-button"
You can’t perform that action at this time.
0 commit comments