mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-02-04 06:23:45 +00:00
axnode: ignore hidden input
This commit is contained in:
@@ -799,6 +799,13 @@ fn isIgnore(self: AXNode, page: *Page) bool {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
.input => {
|
||||||
|
// Check for hidden inputs
|
||||||
|
const input = elt.as(DOMNode.Element.Html.Input);
|
||||||
|
if (input._input_type == .hidden) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
},
|
||||||
else => {},
|
else => {},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user