-
Notifications
You must be signed in to change notification settings - Fork 471
Open
Description
I have a .searchable bar on a nav bar.
The UI description omits the Search Field embedded in the nav bar, as inspected with the Accessibility Inspector:
In the accessibility output we can see that the nav bar doesn't have any children:
[
{
"AXFrame" : "{{0, 0}, {1032, 1376}}",
"AXUniqueId" : null,
"frame" : {
"y" : 0,
"x" : 0,
"width" : 1032,
"height" : 1376
},
"role_description" : "application",
"AXLabel" : "SwiftLEGO",
"content_required" : false,
"type" : "Application",
"title" : null,
"help" : null,
"custom_actions" : [
],
"AXValue" : null,
"enabled" : true,
"role" : "AXApplication",
"children" : [
{
"AXFrame" : "{{0, 32}, {1032, 166}}",
"AXUniqueId" : "Andrea",
"frame" : {
"y" : 32,
"x" : 0,
"width" : 1032,
"height" : 166
},
"role_description" : "Nav bar",
"AXLabel" : null,
"content_required" : false,
"type" : "Group",
"title" : null,
"help" : null,
"custom_actions" : [
],
"AXValue" : null,
"enabled" : true,
"role" : "AXGroup",
"children" : [
],
"subrole" : null,
"pid" : 57546
},
There's something special about where in the hierarchy the Search Field is positioned. If I select it in Accessibility Inspector:
Yet, if I select the Navbar itself, it doesn't have any children, which is probably why the search field is being skipped.

Metadata
Metadata
Assignees
Labels
No labels