A panel which slides in from any edge of the screen and is layered on top of the content.
Make the drawer easily discoverable with a clear icon or button to trigger visibility.
Provide a smooth animation while opening and closing the drawer.
Ensure the content within the drawer is organised, relevant and concise.
Use clear and concise labels to describe the items within the drawer.
Maximum width of the drawer should not exceed the width of the screen. However, a drawer may fill small screens.
When the content overflows the drawer height, it scrolls vertically under the header and above the footer.
Shell DS components are programmatically determinable with appropriate semantic markup and are designed to meet colour contrast requirements. If you’re not using Shell DS code, you will need to cover the accessibility considerations for each component in this pattern.
Allow keyboard navigation for opening and closing the drawer and accessing the content within the drawer.
Use ARIA roles and attributes to provide additional context and improve accessibility.
Ensure the colour contrast is 4:5:1, in accordance with WCAG guidelines.
Every effort has been made to ensure that the Shell Design System follows accessibility best practice.
The Shell DS React framework incorporates keyboard operation to support the widest variety of assistive technologies and devices. For any future frameworks other than React, accessibility will need to be reviewed.
Help us to help you by contacting the Accessibility team for support and information regarding any questions relating to accessibility.
Is this page useful for you?
Your feedback helps to improve our documentation.