2. Modal with Custom Content Class
In this case the modal content has applied a specific class.
3. Modal with Tabs
In this occasion, the modal has tabs, each one with its main content and buttons.
Accessibility
Modal components follow the Dialog (Modal) Pattern.
Please check the keyboard behavior when building a modal. We have noticed that when the content is overflowing, the user cannot scroll it unless:
- The modal contains interactive elements, such as buttons, on the bottom.
- The content has
tabIndex = 0
, and therefore, it can be keyboard-focusable.