File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -375,7 +375,7 @@ export const Header = memo(
375
375
) }
376
376
>
377
377
< button
378
- id = { `${ id } -search-button` }
378
+ id = { `${ id } -search-close- button` }
379
379
className = { fr . cx ( "fr-btn--close" , "fr-btn" ) }
380
380
aria-controls = { searchModalId }
381
381
title = { t ( "close" ) }
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ export const Input = memo(
160
160
classes . nativeInputOrTextArea
161
161
) }
162
162
disabled = { disabled || undefined }
163
- aria-describedby = { messageId }
163
+ aria-describedby = { state !== "default" ? messageId : undefined }
164
164
type = { textArea ? undefined : nativeInputProps ?. type ?? "text" }
165
165
id = { inputId }
166
166
/>
Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ const Modal = memo(
62
62
return (
63
63
< dialog
64
64
aria-labelledby = { titleId }
65
- role = "dialog"
66
65
id = { id }
67
66
className = { cx ( fr . cx ( "fr-modal" , topAnchor && "fr-modal--top" ) , className ) }
68
67
style = { style }
You can’t perform that action at this time.
0 commit comments