Design annotations are needed for specific instances shown below, but for the standard checkbox component, Carbon already incorporates accessibility.
Carbon bakes keyboard operation into its components, improving the experience of blind users and others who operate via the keyboard. Carbon incorporates many other accessibility considerations, some of which are described below.
Each checkbox can be reached by
Tab and selected with
This matches the established HTML interaction pattern.
For groups of checkboxes, Carbon already provides the code for screen readers to properly detect the set of checkboxes and announce the group label.
Design annotations are needed for the following instances.
Checkboxes can appear in multiple columns. If there is a meaningful order to the items (such as days of the week), annotate whether the tab order is by row or by column. See Specify the tab order.
Keep these considerations in mind if you are modifying Carbon or creating a custom component: