{# Inner modal template - do not use directly, use modal_base.html instead #} {# Enhanced with animations, focus trap, and loading states #} {% comment %} ACCESSIBILITY FEATURES: - Focus trap: Tab/Shift+Tab cycles through focusable elements within modal - Home/End keys: Jump to first/last focusable element - Escape key: Close modal (configurable via close_on_escape) - aria-modal="true": Indicates modal dialog semantics - aria-labelledby: References modal title for screen readers - aria-describedby: References modal body and subtitle for description - Automatic focus: First focusable element receives focus on open - Focus restoration: Focus returns to trigger element on close (handled by parent) {% endcomment %} {% with animation=animation|default:'scale' loading=loading|default:False %} {% endwith %}