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(
375375 ) }
376376 >
377377 < button
378- id = { `${ id } -search-button` }
378+ id = { `${ id } -search-close- button` }
379379 className = { fr . cx ( "fr-btn--close" , "fr-btn" ) }
380380 aria-controls = { searchModalId }
381381 title = { t ( "close" ) }
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ export const Input = memo(
160160 classes . nativeInputOrTextArea
161161 ) }
162162 disabled = { disabled || undefined }
163- aria-describedby = { messageId }
163+ aria-describedby = { state !== "default" ? messageId : undefined }
164164 type = { textArea ? undefined : nativeInputProps ?. type ?? "text" }
165165 id = { inputId }
166166 />
Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ const Modal = memo(
6262 return (
6363 < dialog
6464 aria-labelledby = { titleId }
65- role = "dialog"
6665 id = { id }
6766 className = { cx ( fr . cx ( "fr-modal" , topAnchor && "fr-modal--top" ) , className ) }
6867 style = { style }
You can’t perform that action at this time.
0 commit comments