An accessibility audit of our mobile app indicated that these two buttons:
do not have an alternative text.
Both of these only contain an image:
|
Button(action: action) { |
|
Image(systemName: cancelIcon) // SF Symbols value. |
|
.imageScale(cancelIconScale) |
|
.foregroundStyle(forColour: foregroundColour) |
|
.padding(iconPadding) |
|
} |
|
Button(action: action) { |
|
Image(iconName, bundle: Bundle.imageBundle) |
|
.frame(width: size, height: size) |
|
.background( |
|
Circle() |
|
.foregroundStyle(forColour: backgroundColour) |
|
) |
|
.if(!isOn) { |
|
$0.overlay( |
|
Circle() |
|
.stroke(overlayColour, lineWidth: stroke) |
|
) |
|
} |
|
} |
An accessibility audit of our mobile app indicated that these two buttons:
do not have an alternative text.
Both of these only contain an image:
OSBarcodeLib-iOS/Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCCancelButton.swift
Lines 23 to 28 in bd584f0
OSBarcodeLib-iOS/Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCTorchButton.swift
Lines 29 to 42 in bd584f0