-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Audio Block: manage focus after media library modal close #27521
Comments
I was not able to reproduce this, but I did find the new focus to be less than totally helpful. It seems to me that the best target focus on selecting media would be the 'Replace' button. This should allow for quick error correction. Along with that, I think that the current media URL data point should also include the media title, so that users can more easily tell which file is included. |
I tried working a bit on this issue and for me the focus moves back to the block and this makes sense to me since the placeholder is not longer visible. |
Focus is never moved back to the block for me. Let me try to record a video so you can see what's going on. Maybe the issue is very specific to me somehow. |
I was able to reproduce this problem with the post editor, not the site editor. I also think that this problem is not limited to audio blocks. After selecting media in the media library and pressing the Select button:
|
Wow, how sad. This issue is assigned to me and I forgot all about it. I thought for sure this would be fixed after some adjustments in @annezazu By any chance, do you know of anyone with bandwidth right now to look in to this one? That person just is not me. |
@talldan or @carolinan might either of you have time in the coming weeks as 6.1 settles? |
Describe the bug
This is an accessibility issue that happens when using the Audio Block in Gutenberg. Focus is not managed properly after the media library modal is closed or a media file is selected.
To reproduce
Expected behavior
I expected to be dropped back in my currently selected block, not somewhere else in the editor.
Editor version (please complete the following information):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: