/*! For license information please see c5dfe0a1.90fa4060.js.LICENSE.txt */ "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",{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:"focused"})}),(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:"haspopup"})}),(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:"invalid"})}),(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:"Whether and in what way this node's value is invalid."})}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"keyshortcuts"})}),(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:"Any keyboard shortcuts associated with this node."})}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"level"})}),(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:"number"})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"The level of a heading."})}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"modal"})}),(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:"multiline"})}),(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:"multiselectable"})}),(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",{children:(0,n.jsx)(d.p,{children:"Whether more than one child can be selected."})}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"name"})}),(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:"A human readable name for the node."})}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"orientation"})}),(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:"pressed"})}),(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.jsx)(d.p,{children:"Whether the node is checked or in a mixed state."})}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"readonly"})}),(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:"required"})}),(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:"role"})}),(0,n.jsx)("td",{}),(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"string"})}),(0,n.jsx)("td",{children:(0,n.jsxs)(d.p,{children:["The ",(0,n.jsx)(d.a,{href:"https://www.w3.org/TR/wai-aria/#usage_intro",children:"role"})," of the node."]})}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"roledescription"})}),(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:"A human readable alternative to the role."})}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"selected"})}),(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:"value"})}),(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 | number"})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"The current value of the node."})}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"valuemax"})}),(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:"number"})}),(0,n.jsx)("td",{}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"valuemin"})}),(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:"number"})}),(0,n.jsx)("td",{}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.p,{children:"valuetext"})}),(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:"A description of the current value."})}),(0,n.jsx)("td",{})]})]})]})]})}function j(e={}){const{wrapper:d}={...(0,s.a)(),...e.components};return d?(0,n.jsx)(d,{...e,children:(0,n.jsx)(x,{...e})}):x(e)}},75251:(e,d,r)=>{var n=r(67294),s=Symbol.for("react.element"),i=Symbol.for("react.fragment"),t=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function h(e,d,r){var n,i={},h=null,x=null;for(n in void 0!==r&&(h=""+r),void 0!==d.key&&(h=""+d.key),void 0!==d.ref&&(x=d.ref),d)t.call(d,n)&&!c.hasOwnProperty(n)&&(i[n]=d[n]);if(e&&e.defaultProps)for(n in d=e.defaultProps)void 0===i[n]&&(i[n]=d[n]);return{$$typeof:s,type:e,key:h,ref:x,props:i,_owner:l.current}}d.Fragment=i,d.jsx=h,d.jsxs=h},85893:(e,d,r)=>{e.exports=r(75251)},11151:(e,d,r)=>{r.d(d,{Z:()=>l,a:()=>t});var n=r(67294);const s={},i=n.createContext(s);function t(e){const d=n.useContext(i);return n.useMemo((function(){return"function"==typeof e?e(d):{...d,...e}}),[d,e])}function l(e){let d;return d=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:t(e.components),n.createElement(i.Provider,{value:d},e.children)}}}]);