mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
9.4 KiB
JavaScript
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,{
|