(&self)
| 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() |
no test coverage detected