puppeteer/new-docs/puppeteer.serializedaxnode.md

46 lines
3.0 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [SerializedAXNode](./puppeteer.serializedaxnode.md)
## SerializedAXNode interface
Represents a Node and the properties of it that are relevant to Accessibility.
<b>Signature:</b>
```typescript
export interface SerializedAXNode
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [autocomplete](./puppeteer.serializedaxnode.autocomplete.md) | string | |
| [checked](./puppeteer.serializedaxnode.checked.md) | boolean \| 'mixed' | Whether the checkbox is checked, or in a [mixed state](https://www.w3.org/TR/wai-aria-practices/examples/checkbox/checkbox-2/checkbox-2.html)<!-- -->. |
| [children](./puppeteer.serializedaxnode.children.md) | [SerializedAXNode](./puppeteer.serializedaxnode.md)<!-- -->\[\] | Children of this node, if there are any. |
| [description](./puppeteer.serializedaxnode.description.md) | string | An additional human readable description of the node. |
| [disabled](./puppeteer.serializedaxnode.disabled.md) | boolean | |
| [expanded](./puppeteer.serializedaxnode.expanded.md) | boolean | |
| [focused](./puppeteer.serializedaxnode.focused.md) | boolean | |
| [haspopup](./puppeteer.serializedaxnode.haspopup.md) | string | |
| [invalid](./puppeteer.serializedaxnode.invalid.md) | string | Whether and in what way this node's value is invalid. |
| [keyshortcuts](./puppeteer.serializedaxnode.keyshortcuts.md) | string | Any keyboard shortcuts associated with this node. |
| [level](./puppeteer.serializedaxnode.level.md) | number | The level of a heading. |
| [modal](./puppeteer.serializedaxnode.modal.md) | boolean | |
| [multiline](./puppeteer.serializedaxnode.multiline.md) | boolean | |
| [multiselectable](./puppeteer.serializedaxnode.multiselectable.md) | boolean | Whether more than one child can be selected. |
| [name](./puppeteer.serializedaxnode.name.md) | string | A human readable name for the node. |
| [orientation](./puppeteer.serializedaxnode.orientation.md) | string | |
| [pressed](./puppeteer.serializedaxnode.pressed.md) | boolean \| 'mixed' | Whether the node is checked or in a mixed state. |
| [readonly](./puppeteer.serializedaxnode.readonly.md) | boolean | |
| [required](./puppeteer.serializedaxnode.required.md) | boolean | |
| [role](./puppeteer.serializedaxnode.role.md) | string | The [role](https://www.w3.org/TR/wai-aria/#usage_intro) of the node. |
| [roledescription](./puppeteer.serializedaxnode.roledescription.md) | string | A human readable alternative to the role. |
| [selected](./puppeteer.serializedaxnode.selected.md) | boolean | |
| [value](./puppeteer.serializedaxnode.value.md) | string \| number | The current value of the node. |
| [valuemax](./puppeteer.serializedaxnode.valuemax.md) | number | |
| [valuemin](./puppeteer.serializedaxnode.valuemin.md) | number | |
| [valuetext](./puppeteer.serializedaxnode.valuetext.md) | string | A description of the current value. |