axnode: add focus on webroot

This commit is contained in:
Pierre Tachoire
2026-01-15 15:13:02 +01:00
parent 74578ba274
commit bd3966bf8d

View File

@@ -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,