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