Properties:
Name | Type | Default | Description |
---|---|---|---|
accessible |
boolean |
false
|
Flag for if the object is accessible. If true AccessibilityManager will overlay a shadow div with attributes set |
accessibleChildren |
boolean |
true
|
Setting to false will prevent any children inside this container to be accessible. Defaults to true. |
accessibleHint |
string | null |
Sets the aria-label attribute of the shadow div |
|
accessibleText |
string | null |
Sets the text content of the shadow div |
|
accessibleTitle |
string |
Sets the title attribute of the shadow div If accessibleTitle AND accessibleHint has not been this will default to 'container [tabIndex]' |
|
accessibleType |
keyof |
'button'
|
Specify the type of div the accessible layer is. Screen readers treat the element differently depending on this type. Defaults to button. |
tabIndex |
number |
0
|
Members
Flag for if the object is accessible. If true AccessibilityManager will overlay a shadow div with attributes set
- Default Value:
- false
Setting to false will prevent any children inside this container to be accessible. Defaults to true.
- Default Value:
- true
Sets the aria-label attribute of the shadow div
Sets the text content of the shadow div
Sets the title attribute of the shadow div If accessibleTitle AND accessibleHint has not been this will default to 'container [tabIndex]'
Specify the type of div the accessible layer is. Screen readers treat the element differently depending on this type. Defaults to button.
- Default Value:
- 'button'
- Default Value:
- 0