| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | */ |
| 7 | |
| 8 | const ariaProperties = { |
| 9 | 'aria-current': 0, // state |
| 10 | 'aria-description': 0, |
| 11 | 'aria-details': 0, |
| 12 | 'aria-disabled': 0, // state |
| 13 | 'aria-hidden': 0, // state |
| 14 | 'aria-invalid': 0, // state |
| 15 | 'aria-keyshortcuts': 0, |
| 16 | 'aria-label': 0, |
| 17 | 'aria-roledescription': 0, |
| 18 | // Widget Attributes |
| 19 | 'aria-autocomplete': 0, |
| 20 | 'aria-checked': 0, |
| 21 | 'aria-expanded': 0, |
| 22 | 'aria-haspopup': 0, |
| 23 | 'aria-level': 0, |
| 24 | 'aria-modal': 0, |
| 25 | 'aria-multiline': 0, |
| 26 | 'aria-multiselectable': 0, |
| 27 | 'aria-orientation': 0, |
| 28 | 'aria-placeholder': 0, |
| 29 | 'aria-pressed': 0, |
| 30 | 'aria-readonly': 0, |
| 31 | 'aria-required': 0, |
| 32 | 'aria-selected': 0, |
| 33 | 'aria-sort': 0, |
| 34 | 'aria-valuemax': 0, |
| 35 | 'aria-valuemin': 0, |
| 36 | 'aria-valuenow': 0, |
| 37 | 'aria-valuetext': 0, |
| 38 | // Live Region Attributes |
| 39 | 'aria-atomic': 0, |
| 40 | 'aria-busy': 0, |
| 41 | 'aria-live': 0, |
| 42 | 'aria-relevant': 0, |
| 43 | // Drag-and-Drop Attributes |
| 44 | 'aria-dropeffect': 0, |
| 45 | 'aria-grabbed': 0, |
| 46 | // Relationship Attributes |
| 47 | 'aria-activedescendant': 0, |
| 48 | 'aria-colcount': 0, |
| 49 | 'aria-colindex': 0, |
| 50 | 'aria-colspan': 0, |
| 51 | 'aria-controls': 0, |
| 52 | 'aria-describedby': 0, |
| 53 | 'aria-errormessage': 0, |
| 54 | 'aria-flowto': 0, |
| 55 | 'aria-labelledby': 0, |
| 56 | 'aria-owns': 0, |
| 57 | 'aria-posinset': 0, |
| 58 | 'aria-rowcount': 0, |
| 59 | 'aria-rowindex': 0, |
| 60 | 'aria-rowspan': 0, |
| 61 | 'aria-setsize': 0, |
| 62 | // ARIA 1.3 Attributes |
| 63 | 'aria-braillelabel': 0, |
| 64 | 'aria-brailleroledescription': 0, |
| 65 | 'aria-colindextext': 0, |
| 66 | 'aria-rowindextext': 0, |
| 67 | }; |
| 68 | |
| 69 | export default ariaProperties; |