Skip to content

Missing alternative text for Cancel and Torch buttons #44

Description

@Erdragh

An accessibility audit of our mobile app indicated that these two buttons:

Image

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)
)
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions