|
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[87323],{42541:(e,d,r)=>{r.r(d),r.d(d,{assets:()=>c,contentTitle:()=>t,default:()=>j,frontMatter:()=>i,metadata:()=>l,toc:()=>h});var n=r(85893),s=r(11151);const i={sidebar_label:"SerializedAXNode"},t="SerializedAXNode interface",l={id:"api/puppeteer.serializedaxnode",title:"SerializedAXNode interface",description:"Represents a Node and the properties of it that are relevant to Accessibility.",source:"@site/versioned_docs/version-22.6.2/api/puppeteer.serializedaxnode.md",sourceDirName:"api",slug:"/api/puppeteer.serializedaxnode",permalink:"/api/puppeteer.serializedaxnode",draft:!1,unlisted:!1,tags:[],version:"22.6.2",frontMatter:{sidebar_label:"SerializedAXNode"},sidebar:"api",previous:{title:"ScreenshotOptions",permalink:"/api/puppeteer.screenshotoptions"},next:{title:"SnapshotOptions",permalink:"/api/puppeteer.snapshotoptions"}},c={},h=[{value:"Signature:",id:"signature",level:4},{value:"Properties",id:"properties",level:2}];function x(e){const d={a:"a",code:"code",h1:"h1",h2:"h2",h4:"h4",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.h1,{id:"serializedaxnode-interface",children:"SerializedAXNode interface"}),"\n",(0,n.jsx)(d.p,{children:"Represents a Node and the properties of it that are relevant to Accessibility."}),"\n",(0,n.jsx)(d.h4,{id:"signature",children:"Signature:"}),"\n",(0,n.jsx)(d.pre,{children:(0,n.jsx)(d.code,{className:"language-typescript",children:"export interface SerializedAXNode\n"})}),"\n",(0,n.jsx)(d.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsxs)("table",{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:(0,n.jsx)(d.p,{children:"Property"})}),(0,n.jsx)("th",{children:(0,n.jsx)(d.p,{children:"Modifiers"})}),(0,n.jsx)("th",{children:(0,n.jsx)(d.p,{children:"Type"})}),(0,n.jsx)("th",{children:(0,n.jsx)(d.p,{children:"Description"})}),(0,n.jsx)("th",{children:(0,n.jsx)(d.p,{children:"Default"})})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"autocomplete"})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:(0,n.jsx)(d.code,{children:"optional"})})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"string"})}),(0,n.jsx)("td",{}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"checked"})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:(0,n.jsx)(d.code,{children:"optional"})})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"boolean | 'mixed'"})}),(0,n.jsx)("td",{children:(0,n.jsxs)(d.p,{children:["Whether the checkbox is checked, or in a ",(0,n.jsx)(d.a,{href:"https://www.w3.org/TR/wai-aria-practices/examples/checkbox/checkbox-2/checkbox-2.html",children:"mixed state"}),"."]})}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"children"})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:(0,n.jsx)(d.code,{children:"optional"})})}),(0,n.jsx)("td",{children:(0,n.jsxs)(d.p,{children:[(0,n.jsx)(d.a,{href:"/api/puppeteer.serializedaxnode",children:"SerializedAXNode"}),"[]"]})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"Children of this node, if there are any."})}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"description"})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:(0,n.jsx)(d.code,{children:"optional"})})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"string"})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"An additional human readable description of the node."})}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"disabled"})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:(0,n.jsx)(d.code,{children:"optional"})})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"boolean"})}),(0,n.jsx)("td",{}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"expanded"})}),(0,n.jsx)("td",{chil
|