Studio: Bulk delete preview sites action not working - #1467
Conversation
|
I did not review this yet but wanted to mention that I added |
|
Interesting. I wouldn’t have guessed about this change. Thanks, @katinthehatsite, for sharing the context. I used |
epeicher
left a comment
There was a problem hiding this comment.
Thanks Rahul for the fix! This was a great sleuthing, I wonder how did you identified the attribute that was causing the issue? 🕵️
I have tested it, and I can now click on the Delete all preview sites button in different scenarios. I have also tested the related task and I don't see any warnings so this LGTM! ![]()
| Delete all preview sites | Add new site (no warnings) |
|---|---|
![]() |
![]() |
|
@epeicher Thanks for the review.
Thanks for asking. Here are the steps I followed:
|
|
Hey team, I would prefer to receive more reviews before merging this, as I would like to include it in the current release. |
bcotrim
left a comment
There was a problem hiding this comment.
Changes LGTM 👍
Did not notice any regression, no console errors and delete all preview sites action worked.
Nice catch!
ivan-ottinger
left a comment
There was a problem hiding this comment.
Great investigation! I can confirm as well the change fixes the issue and I did not observe any regressions.
|
How do those changes influence compatibility with VoiceOver? |
|
I retested it and it works fine now. 🥳 |
Based on my understanding so far, Previously, |


Related issues
Proposed Changes
I proposed a fix for the bulk delete preview sites action not working by using
aria-modalinstead ofinertattribute. That attribute was added as part of #1423 PR to fix the accessibility warning. Using aria-modal fixes those issues and it also fixes the issues with Bulk delete preview sites action.Read more about aria-modal attribute: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-modal
Testing Instructions
rm node_modulesfolder and then runnpm install && npm startAlso, follow the test instructions from PR #1423 for any regression.
Pre-merge Checklist