You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Image(dash:): VoiceOver reads the asset name of .custom icons #38
Image(dash:) (Foundation/Image+DashUI.swift) builds .custom icons with Image(name, bundle:). An image built that way is an accessibility element whose label is its asset name, so VoiceOver reads names such as "toast-warning, image".
This was measured on Toast with the accessibility tree on the iOS simulator. The toast is fixed separately: its icon is hidden from VoiceOver, and hosts can pass an accessibilityLabel:. The other components draw icons through the same path, but they were not measured one by one:
MenuItem (leading and trailing icon)
TransactionView (icon and secondary icon)
RadioButtonRow
SheetFeature
NavigationBarCircleIcon
NavigationBar (custom element icon)
Criteria
ConverterCard (ConverterArrowBadge)
SystemMessageView
DashButton (icon in the button label)
SearchBar
AddressFieldView
DashAmount
DashBalanceView
SwapAmountView
ConverterCard (its other icons)
SuccessIllustration and ErrorIllustration
Some of these already set accessibility modifiers on the row, which may hide or combine the icon. That also needs checking per component.
Proposed fix
Dump the accessibility tree of each component above, with a .custom icon and with an SF Symbol.
Then pick one:
make .custom icons decorative by default (Image(decorative:bundle:) in Image(dash:)), since a text label sits next to the icon almost everywhere;
or add an optional label to DashIconSource.custom, for the few icons that carry meaning on their own.
Both change what VoiceOver reads in host apps, so the fix needs a note in the release notes.
Related: the accessibility audit of the shared components (ticket 32072).
Activity
romchornyi commentedon Dec 4, 2026
Fixed by #91, #92 and #93.