feat: Add accessible bulk-action review flow for destructive actions#294
feat: Add accessible bulk-action review flow for destructive actions#294Tanisha-sharma7302 wants to merge 16 commits into
Conversation
utksh1
left a comment
There was a problem hiding this comment.
Requesting changes. The modal is added as an unused standalone component, so the destructive bulk-action flow is not actually changed. Please wire it into the bulk action path, keep styling consistent with existing components, and add tests for confirmation/cancel/keyboard behavior.
|
Thanks for following up. Clarifying the change request so it is actionable: Why this is blocked: What to do next:
|
|
Hi @utksh1! I've addressed all the review feedback:
|
utksh1
left a comment
There was a problem hiding this comment.
Re-reviewed latest state. The modal component is now present, but this still needs proof that the destructive bulk action path actually uses it end-to-end. Please wire it into the existing bulk delete/review flow and add tests for confirm, cancel, focus/keyboard handling, and no deletion before confirmation.
…k-action-review-flow # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
|
Re-reviewed after the latest push. Still blocked: the destructive bulk delete path needs end-to-end proof that it uses the review modal. Please wire it into the existing bulk action flow and test confirm, cancel, focus/keyboard behavior, and no deletion before confirmation. |
|
Hi @utksh1! All 6 CI checks are now passing. Added
Ready for re-review! |
|
Re-reviewed after the latest push. Still blocked: the destructive bulk delete path needs end-to-end proof that it uses the review modal. Please wire it into the existing bulk action flow and test confirm, cancel, focus/keyboard behavior, and no deletion before confirmation. |
Closes #236
Summary
Added
BulkActionReviewModal.tsx— a fully accessible confirmationdialog that appears before any destructive bulk action is executed.
Accessibility Features (WCAG 2.1)
role="dialog"+aria-modal="true"on modal wrapperaria-labelledbyandaria-describedbyfor screen readersaria-labelon confirm button describing exact actionChanges
frontend/src/components/BulkActionReviewModal.tsx