You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/orbit-components/src/Modal/README.md
+3
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,9 @@ Table below contains all types of the props available in the Modal component.
40
40
| mobileHeader |`boolean`|`true`| If `false` the ModalHeader will not have MobileHeader and CloseContainer. |
41
41
| labelClose |`string`|`Close`| The label for the close button. |
42
42
| onScroll |`event => void \| Promise`|| Function for handling `onScroll` event. [See Functional specs](#functional-specs). |
43
+
| ariaLabelledby |`string`|| The `aria-labelledby` attribute of the Modal. It should be used if `title` is not defined on the ModalHeader. |
44
+
| ariaDescribedby |`string`|| The `aria-describedby` attribute of the Modal. It should be used if `description` is not defined on the ModalHeader. |
45
+
| ariaLabel |`string`|| The `aria-label` attribute of the Modal. It should be used if `title` is not defined on the ModalHeader and `ariaLabelledby` is undefined. |
0 commit comments