mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-02-04 06:23:45 +00:00
axnode: add focus on webroot
This commit is contained in:
@@ -265,6 +265,7 @@ pub const Writer = struct {
|
|||||||
const uri = document.getURL(page);
|
const uri = document.getURL(page);
|
||||||
try self.writeAXProperty(.{ .name = .url, .value = .{ .string = uri } }, w);
|
try self.writeAXProperty(.{ .name = .url, .value = .{ .string = uri } }, w);
|
||||||
try self.writeAXProperty(.{ .name = .focusable, .value = .{ .booleanOrUndefined = true } }, w);
|
try self.writeAXProperty(.{ .name = .focusable, .value = .{ .booleanOrUndefined = true } }, w);
|
||||||
|
try self.writeAXProperty(.{ .name = .focused, .value = .{ .booleanOrUndefined = true } }, w);
|
||||||
return;
|
return;
|
||||||
},
|
},
|
||||||
.cdata => return,
|
.cdata => return,
|
||||||
|
|||||||
Reference in New Issue
Block a user