// Copyright © 2020 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp.DevTools.Accessibility { /// /// A node in the accessibility tree. /// [System.Runtime.Serialization.DataContractAttribute] public class AXNode : CefSharp.DevTools.DevToolsDomainEntityBase { /// /// Unique identifier for this node. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] public string NodeId { get; set; } /// /// Whether this node is ignored for accessibility /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("ignored"), IsRequired = (true))] public bool Ignored { get; set; } /// /// Collection of reasons why this node is hidden. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("ignoredReasons"), IsRequired = (false))] public System.Collections.Generic.IList IgnoredReasons { get; set; } /// /// This `Node`'s role, whether explicit or implicit. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("role"), IsRequired = (false))] public CefSharp.DevTools.Accessibility.AXValue Role { get; set; } /// /// The accessible name for this `Node`. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (false))] public CefSharp.DevTools.Accessibility.AXValue Name { get; set; } /// /// The accessible description for this `Node`. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("description"), IsRequired = (false))] public CefSharp.DevTools.Accessibility.AXValue Description { get; set; } /// /// The value for this `Node`. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (false))] public CefSharp.DevTools.Accessibility.AXValue Value { get; set; } /// /// All other properties /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("properties"), IsRequired = (false))] public System.Collections.Generic.IList Properties { get; set; } /// /// IDs for each of this node's child nodes. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("childIds"), IsRequired = (false))] public string[] ChildIds { get; set; } /// /// The backend ID for the associated DOM node, if any. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("backendDOMNodeId"), IsRequired = (false))] public int? BackendDOMNodeId { get; set; } } }