Skip to content

Commit f68d0c0

Browse files
committed
Add an accessibility label and hints to the "next password" button
1 parent 558b9ae commit f68d0c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Authenticator/Source/TokenRowCell.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ class TokenRowCell: UITableViewCell {
6868

6969
nextPasswordButton.tintColor = .otpForegroundColor
7070
nextPasswordButton.addTarget(self, action: #selector(TokenRowCell.generateNextPassword), for: .touchUpInside)
71+
nextPasswordButton.accessibilityLabel = "Increment token"
72+
nextPasswordButton.accessibilityHint = "Double-tap to generate a new password."
7173
contentView.addSubview(nextPasswordButton)
7274
}
7375

0 commit comments

Comments
 (0)