Disabled states are applied when a component is not interactive. There are three variants: Default disabled, Hidden and Read-only.
Applied to temporarily disable a component pending user action or input.
Write a clear and helpful message that tells users how to make the component interactive again.
Provide immediate feedback to help users input the correct information.
Applied to hide an element from view.
Applied so that information cannot be edited.
To allow users to view or copy content without making changes.
Ensure the text in read-only state is visible and easy to read.
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 read-only components so that users can access information.
To make disabled components focusable and visible to assistive technologies use W3C WAI-ARIA disabled attribute, aria-disabled=”true”.
Ensure the colour contrast is 3: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.