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: src/app/doc/parts/options/options.component.ts
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ export class OptionsComponent implements OnInit {
25
25
name: 'escapable',
26
26
type: 'boolean',
27
27
defaultValue: 'true',
28
-
description: 'Enable / disable the modal for listening to the escape keypress event (if pressed and this option is set to true, it will close the current opened modal or the latest opened if you have several modals opened at the same time)'
28
+
description: 'Enable / disable the modal for listening to the escape keypress event (if pressed and this option is set to true, it will close the current opened modal or the latest opened if you have several modals opened at the same time). ⚠️ NOT RECOMMANDED for accessibility reasons.'
29
29
},
30
30
{
31
31
name: 'dismissable',
@@ -75,6 +75,24 @@ export class OptionsComponent implements OnInit {
75
75
defaultValue: 'undefined',
76
76
description: 'Displays the modal relatively to the targeted element. ⚠️ Only for NgxSmartModal >= 7.0.0!'
77
77
},
78
+
{
79
+
name: 'ariaLabel',
80
+
type: 'string',
81
+
defaultValue: 'undefined',
82
+
description: 'Define a accessible title for your modal.'
83
+
},
84
+
{
85
+
name: 'ariaLabelledBy',
86
+
type: 'string',
87
+
defaultValue: 'undefined',
88
+
description: 'Define a accessible title for your modal. Enter the id of your title content.'
89
+
},
90
+
{
91
+
name: 'ariaDescribedBy',
92
+
type: 'string',
93
+
defaultValue: 'undefined',
94
+
description: 'Define a accessible description for your modal. Enter the id of your description content.'
0 commit comments