Ensure the focus is on and trapped within the modal when it's displayed for keyboard readiness.
The ‘tab’ key should move the focus to different elements within the modal only.
Up/down arrow keys
The arrow keys should scroll the content if it flows over the modal container (scrollbar enabled).
The escape key should close the modal.