You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: v2/gcdapi/accessibility.go
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ type AccessibilityAXValueSource struct {
16
16
Attributestring`json:"attribute,omitempty"`// The name of the relevant attribute, if any.
17
17
AttributeValue*AccessibilityAXValue`json:"attributeValue,omitempty"`// The value of the relevant attribute, if any.
18
18
Supersededbool`json:"superseded,omitempty"`// Whether this source is superseded by a higher priority source.
19
-
NativeSourcestring`json:"nativeSource,omitempty"`// The native markup source for this value, e.g. a <label> element. enum values: description, figcaption, label, labelfor, labelwrapped, legend, rubyannotation, tablecaption, title, other
19
+
NativeSourcestring`json:"nativeSource,omitempty"`// The native markup source for this value, e.g. a `<label>` element. enum values: description, figcaption, label, labelfor, labelwrapped, legend, rubyannotation, tablecaption, title, other
20
20
NativeSourceValue*AccessibilityAXValue`json:"nativeSourceValue,omitempty"`// The value, such as a node or node list, of the native source.
21
21
Invalidbool`json:"invalid,omitempty"`// Whether the value for this property is invalid.
22
22
InvalidReasonstring`json:"invalidReason,omitempty"`// Reason for the value being invalid, if it is.
@@ -31,7 +31,7 @@ type AccessibilityAXRelatedNode struct {
@@ -356,7 +356,7 @@ type AccessibilityQueryAXTreeParams struct {
356
356
Rolestring`json:"role,omitempty"`
357
357
}
358
358
359
-
// QueryAXTreeWithParams - Query a DOM node's accessibility subtree for accessible name and role. This command computes the name and role for all nodes in the subtree, including those that are ignored for accessibility, and returns those that mactch the specified name and role. If no DOM node is specified, or the DOM node does not exist, the command returns an error. If neither `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
359
+
// QueryAXTreeWithParams - Query a DOM node's accessibility subtree for accessible name and role. This command computes the name and role for all nodes in the subtree, including those that are ignored for accessibility, and returns those that match the specified name and role. If no DOM node is specified, or the DOM node does not exist, the command returns an error. If neither `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
360
360
// Returns - nodes - A list of `Accessibility.AXNode` matching the specified attributes, including nodes that are ignored for accessibility.
// QueryAXTree - Query a DOM node's accessibility subtree for accessible name and role. This command computes the name and role for all nodes in the subtree, including those that are ignored for accessibility, and returns those that mactch the specified name and role. If no DOM node is specified, or the DOM node does not exist, the command returns an error. If neither `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
389
+
// QueryAXTree - Query a DOM node's accessibility subtree for accessible name and role. This command computes the name and role for all nodes in the subtree, including those that are ignored for accessibility, and returns those that match the specified name and role. If no DOM node is specified, or the DOM node does not exist, the command returns an error. If neither `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
390
390
// nodeId - Identifier of the node for the root to query.
391
391
// backendNodeId - Identifier of the backend node for the root to query.
392
392
// objectId - JavaScript object id of the node wrapper for the root to query.
StartTimefloat64`json:"startTime"`// `Animation`'s start time. Milliseconds for time based animations and percentage [0 - 100] for scroll driven animations (i.e. when viewOrScrollTimeline exists).
20
+
CurrentTimefloat64`json:"currentTime"`// `Animation`'s current time.
21
+
Typestring`json:"type"`// Animation type of `Animation`.
StartOffsetfloat64`json:"startOffset,omitempty"`// Represents the starting scroll position of the timeline as a length offset in pixels from scroll origin.
31
+
EndOffsetfloat64`json:"endOffset,omitempty"`// Represents the ending scroll position of the timeline as a length offset in pixels from scroll origin.
32
+
SubjectNodeIdint`json:"subjectNodeId,omitempty"`// The element whose principal box's visibility in the scrollport defined the progress of the timeline. Does not exist for animations with ScrollTimeline
33
+
Axisstring`json:"axis"`// Orientation of the scroll enum values: horizontal, vertical
24
34
}
25
35
26
36
// AnimationEffect instance
@@ -29,7 +39,7 @@ type AnimationAnimationEffect struct {
29
39
EndDelayfloat64`json:"endDelay"`// `AnimationEffect`'s end delay.
Durationfloat64`json:"duration"`// `AnimationEffect`'s iteration duration. Milliseconds for time based animations and percentage [0 - 100] for scroll driven animations (i.e. when viewOrScrollTimeline exists).
0 commit comments