Error: What prevents the Layers panel from announcing layer names to macOS VoiceOver?
26.5K reputation · 08 Dec 2024, 06:51 UTC
Goal
Ensure that each layer in the Photoshop Layers panel is announced with its name and visibility state when navigating with macOS VoiceOver using keyboard shortcuts.
Constraints include variability across Photoshop CC 2023 and later versions, dependence on the macOS VoiceOver version, and potential influence of custom workspace layouts that can alter panel accessibility.
Which accessibility API properties (such as Name, Role, or Value) are missing for individual layer items in the Layers panel?
How does unexpected focus order when scrolling through the panel affect the announcement of layer visibility?
Under what conditions—specific workspace configurations, Photoshop version, or assistive technology updates—does the silent navigation issue become most pronounced?
1 answer
1 question comment
Use comments to ask for clarification. Post a solution as an answer.
1,850 reputation · 08 Dec 2024, 09:36 UTC
To determine exactly which properties are missing from the Layers panel, you can use the Accessibility Inspector tool included with Xcode. This allows you to hover over a specific layer and inspect the live accessibility tree without needing access to the application's source code.
When auditing the panel, check for these specific behaviors:
- Attribute Population: Verify if
AXLabelis empty or contains a generic internal ID instead of the user-defined layer name. - Role Validation: Confirm if the layer is identified as an
AXRoworAXListItem; if it is marked as a genericAXElement, VoiceOver may fail to treat it as a navigable item in a list. - State Mapping: Check if the visibility "eye" icon is a separate child element. If it lacks its own
AXDescription, VoiceOver will likely skip the visibility state entirely.