MCPcopy Create free account
hub / github.com/AccessKit/accesskit / title

Method title

platforms/macos/src/node.rs:306–313  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

304 }
305
306 pub(crate) fn title(&self) -> Option<String> {
307 if self.is_root() && self.0.role() == Role::Window {
308 // If the group element that we expose for the top-level window
309 // includes a title, VoiceOver behavior is broken.
310 return None;
311 }
312 self.0.label()
313 }
314
315 pub(crate) fn description(&self) -> Option<String> {
316 self.0.description()

Callers 1

node_updatedMethod · 0.80

Calls 3

is_rootMethod · 0.45
roleMethod · 0.45
labelMethod · 0.45

Tested by

no test coverage detected