Delete Item Focus
Move focus to the next item's delete button, or the list heading if empty.
When a modal closes or a list item is deleted, focus must move predictably rather than resetting to <body>. Test interactive focus management scenarios live.
Your files and content are processed locally in your browser. We do not upload your files to our servers.
Deleting the currently focused button without shifting focus to the next item or heading drops keyboard users back to the top of the document.
Real DOM focus() event listener logging interactive transitions.
Move focus to the next item's delete button, or the list heading if empty.
Generate accessible <dialog> / ARIA modals with Escape key and focus return.
Test HTML controls with Tab, Shift+Tab, Enter, Space, and Escape in a live sandbox.
Map numbered keyboard Tab stops (1, 2, 3...) across your HTML markup.
Validate aria-* spelling, WAI-ARIA 1.2 compliance, and broken ID references.
Verify aria-label, aria-labelledby references, and WCAG 2.5.3 Label in Name.