Download wp-calypso/client/lib/a11y/constants.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 625 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/lib/a11y/constants.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/lib/a11y/constants.ts
-
curl -L -o constants.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/lib/a11y/constants.ts
625 Bytes
| // Reference: https://www.w3.org/TR/wai-aria-1.0/states_and_properties#state_prop_def | |
| export const ARIA_STATES = [ | |
| 'busy', | |
| 'checked', | |
| 'disabled', | |
| 'expanded', | |
| 'grabbed', | |
| 'hidden', | |
| 'invalid', | |
| 'pressed', | |
| 'selected', | |
| ] as const; | |
| export const ARIA_PROPERTIES = [ | |
| 'activedescendant', | |
| 'atomic', | |
| 'autocomplete', | |
| 'controls', | |
| 'describedby', | |
| 'dropeffect', | |
| 'flowto', | |
| 'haspopup', | |
| 'label', | |
| 'labelledby', | |
| 'level', | |
| 'live', | |
| 'multiline', | |
| 'multiselectable', | |
| 'orientation', | |
| 'owns', | |
| 'posinset', | |
| 'readonly', | |
| 'relevant', | |
| 'required', | |
| 'setsize', | |
| 'sort', | |
| 'valuemax', | |
| 'valuemin', | |
| 'valuenow', | |
| 'valuetext', | |
| ] as const; | |