Guides
Customisability Attributes
A reference for all data-c13y-* attributes emitted by the design system, for use as stable CSS selector targets.
Best practices for data-c13y-* attributes
For best practices on how and when to use data-c13y-* attributes, see the data-c13y attributes guide.
c13y component contracts
The sections below list the component-specific data-c13y-component values emitted by each component, plus any data-c13y-purpose values the library sets internally on its own controls. Generated from the component source, so it can’t drift from what’s actually shipped. Components that don’t emit any data-c13y-* attributes yet are omitted here.
alert-dialog-descriptionalert-dialog-iconalert-dialog-popupalert-dialog-title
Library-set purpose values: close
Library-set purpose values: close
bottom-sheet-buttonbottom-sheet-descriptionbottom-sheet-headerbottom-sheet-popupbottom-sheet-titlebutton
Library-set purpose values: back, close
checkboxcheckbox-containercheckbox-descriptioncheckbox-errorcheckbox-inputcheckbox-label
checkbox-groupcheckbox-group-collectioncheckbox-group-descriptioncheckbox-group-errorcheckbox-group-label
buttondialog-bodydialog-descriptiondialog-footerdialog-headerdialog-popupdialog-title
Library-set purpose values: close
emptyempty-descriptionempty-mediaempty-title
fieldfield-descriptionfield-errorfield-label
buttonfile-uploadfile-upload-inputfile-upload-overlayfile-upload-previewfile-upload-text
Library-set purpose values: delete, edit
buttonfilter-collectionfilter-emptyfilter-optionfilter-popup
Library-set purpose values: open
menu-group-labelmenu-itemmenu-popupmenu-radio-itemmenu-separatormenu-sub-menu-trigger
buttonnumber-steppernumber-stepper-input
Library-set purpose values: decrement, increment
Library-set purpose values: close
radioradio-descriptionradio-inputradio-label
radio-groupradio-group-descriptionradio-group-errorradio-group-label
buttonsearchable-multi-select-chipsearchable-multi-select-emptysearchable-multi-select-groupsearchable-multi-select-group-labelsearchable-multi-select-inputsearchable-multi-select-itemsearchable-multi-select-item-indicatorsearchable-multi-select-listsearchable-multi-select-popupsearchable-multi-select-separatorsearchable-multi-select-value-collectionsearchable-multi-select-value-containersearchable-multi-select-value-item
Library-set purpose values: clear, open, remove
buttonsearchable-single-select-emptysearchable-single-select-group-labelsearchable-single-select-inputsearchable-single-select-input-buttons-containersearchable-single-select-itemsearchable-single-select-popupsearchable-single-select-separator
Library-set purpose values: clear, open
buttonsearch-base-inputsearch-base-input-inputsearch-input
Library-set purpose values: cancel
segmented-controlsegmented-control-item
select-group-labelselect-itemselect-item-indicatorselect-popupselect-separatorselect-triggerselect-value
skeleton-avatarskeleton-boxskeleton-text
tabstabs-contenttabs-listtabs-trigger