puppeteer/assets/js/0cef9437.1197979f.js
release-please[bot] cc95c085a2 deploy: 1014abc087
2023-11-29 13:34:30 +00:00

2 lines
9.4 KiB
JavaScript

/*! For license information please see 0cef9437.1197979f.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4856],{86567:(e,d,t)=>{t.r(d),t.d(d,{assets:()=>c,contentTitle:()=>i,default:()=>x,frontMatter:()=>s,metadata:()=>l,toc:()=>o});var r=t(85893),n=t(11151);const s={sidebar_label:"SerializedAXNode"},i="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/../docs/api/puppeteer.serializedaxnode.md",sourceDirName:"api",slug:"/api/puppeteer.serializedaxnode",permalink:"/next/api/puppeteer.serializedaxnode",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"SerializedAXNode"},sidebar:"api",previous:{title:"ScreenshotOptions",permalink:"/next/api/puppeteer.screenshotoptions"},next:{title:"SnapshotOptions",permalink:"/next/api/puppeteer.snapshotoptions"}},c={},o=[{value:"Signature:",id:"signature",level:4},{value:"Properties",id:"properties",level:2}];function h(e){const d={a:"a",code:"code",h1:"h1",h2:"h2",h4:"h4",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.h1,{id:"serializedaxnode-interface",children:"SerializedAXNode interface"}),"\n",(0,r.jsx)(d.p,{children:"Represents a Node and the properties of it that are relevant to Accessibility."}),"\n",(0,r.jsx)(d.h4,{id:"signature",children:"Signature:"}),"\n",(0,r.jsx)(d.pre,{children:(0,r.jsx)(d.code,{className:"language-typescript",children:"export interface SerializedAXNode\n"})}),"\n",(0,r.jsx)(d.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsxs)(d.table,{children:[(0,r.jsx)(d.thead,{children:(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.th,{children:"Property"}),(0,r.jsx)(d.th,{children:"Modifiers"}),(0,r.jsx)(d.th,{children:"Type"}),(0,r.jsx)(d.th,{children:"Description"}),(0,r.jsx)(d.th,{children:"Default"})]})}),(0,r.jsxs)(d.tbody,{children:[(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"autocomplete"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"string"}),(0,r.jsx)(d.td,{}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"checked"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"boolean | 'mixed'"}),(0,r.jsxs)(d.td,{children:["Whether the checkbox is checked, or in a ",(0,r.jsx)(d.a,{href:"https://www.w3.org/TR/wai-aria-practices/examples/checkbox/checkbox-2/checkbox-2.html",children:"mixed state"}),"."]}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"children"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsxs)(d.td,{children:[(0,r.jsx)(d.a,{href:"/next/api/puppeteer.serializedaxnode",children:"SerializedAXNode"}),"[]"]}),(0,r.jsx)(d.td,{children:"Children of this node, if there are any."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"description"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"string"}),(0,r.jsx)(d.td,{children:"An additional human readable description of the node."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"disabled"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"boolean"}),(0,r.jsx)(d.td,{}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"expanded"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"boolean"}),(0,r.jsx)(d.td,{}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"focused"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"boolean"}),(0,r.jsx)(d.td,{}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"haspopup"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"string"}),(0,r.jsx)(d.td,{}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"invalid"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"string"}),(0,r.jsx)(d.td,{children:"Whether and in what way this node's value is invalid."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"keyshortcuts"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"string"}),(0,r.jsx)(d.td,{children:"Any keyboard shortcuts associated with this node."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"level"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"number"}),(0,r.jsx)(d.td,{children:"The level of a heading."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"modal"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"boolean"}),(0,r.jsx)(d.td,{}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"multiline"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"boolean"}),(0,r.jsx)(d.td,{}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"multiselectable"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"boolean"}),(0,r.jsx)(d.td,{children:"Whether more than one child can be selected."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"name"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"string"}),(0,r.jsx)(d.td,{children:"A human readable name for the node."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"orientation"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"string"}),(0,r.jsx)(d.td,{}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"pressed"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"boolean | 'mixed'"}),(0,r.jsx)(d.td,{children:"Whether the node is checked or in a mixed state."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"readonly"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"boolean"}),(0,r.jsx)(d.td,{}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"required"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"boolean"}),(0,r.jsx)(d.td,{}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"role"}),(0,r.jsx)(d.td,{}),(0,r.jsx)(d.td,{children:"string"}),(0,r.jsxs)(d.td,{children:["The ",(0,r.jsx)(d.a,{href:"https://www.w3.org/TR/wai-aria/#usage_intro",children:"role"})," of the node."]}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"roledescription"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"string"}),(0,r.jsx)(d.td,{children:"A human readable alternative to the role."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"selected"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"boolean"}),(0,r.jsx)(d.td,{}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"value"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"string | number"}),(0,r.jsx)(d.td,{children:"The current value of the node."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"valuemax"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"number"}),(0,r.jsx)(d.td,{}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"valuemin"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"number"}),(0,r.jsx)(d.td,{}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:"valuetext"}),(0,r.jsx)(d.td,{children:(0,r.jsx)("code",{children:"optional"})}),(0,r.jsx)(d.td,{children:"string"}),(0,r.jsx)(d.td,{children:"A description of the current value."}),(0,r.jsx)(d.td,{})]})]})]})]})}function x(e={}){const{wrapper:d}={...(0,n.a)(),...e.components};return d?(0,r.jsx)(d,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},75251:(e,d,t)=>{var r=t(67294),n=Symbol.for("react.element"),s=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function o(e,d,t){var r,s={},o=null,h=null;for(r in void 0!==t&&(o=""+t),void 0!==d.key&&(o=""+d.key),void 0!==d.ref&&(h=d.ref),d)i.call(d,r)&&!c.hasOwnProperty(r)&&(s[r]=d[r]);if(e&&e.defaultProps)for(r in d=e.defaultProps)void 0===s[r]&&(s[r]=d[r]);return{$$typeof:n,type:e,key:o,ref:h,props:s,_owner:l.current}}d.Fragment=s,d.jsx=o,d.jsxs=o},85893:(e,d,t)=>{e.exports=t(75251)},11151:(e,d,t)=>{t.d(d,{Z:()=>l,a:()=>i});var r=t(67294);const n={},s=r.createContext(n);function i(e){const d=r.useContext(s);return r.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(n):e.components||n:i(e.components),r.createElement(s.Provider,{value:d},e.children)}}}]);