announce image upload success via aria live (#15650)
This commit is contained in:
parent
842e18a0fc
commit
6a7b9361db
1 changed files with 5 additions and 1 deletions
|
|
@ -397,7 +397,11 @@ export const ImageUploader = ({
|
|||
|
||||
return (
|
||||
<Fragment>
|
||||
<div id="upload-success-info" className="screen-reader-only" />
|
||||
<div
|
||||
id="upload-success-info"
|
||||
aria-live="polite"
|
||||
className="screen-reader-only"
|
||||
/>
|
||||
|
||||
{editorVersion === 'v2' ? (
|
||||
<V2EditorImageUpload
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue