Skip to content

Commit

Permalink
Fix Accessibility Voice Over Elements voiced without "Button"
Browse files Browse the repository at this point in the history
PP-939
  • Loading branch information
igor-gini committed Feb 21, 2025
1 parent 2ec5d27 commit 67c97d5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ final class HelpMenuDataSource: HelpRoundedCornersDataSource<HelpMenuItem, HelpM
}

override func configureCell(cell: HelpMenuCell, indexPath: IndexPath) {
cell.accessibilityTraits.insert(.button)
cell.backgroundColor = GiniColor(light: UIColor.GiniCapture.light1, dark: UIColor.GiniCapture.dark3).uiColor()
cell.titleLabel.text = items[indexPath.row].title
cell.titleLabel.textColor = GiniColor(
Expand Down

0 comments on commit 67c97d5

Please sign in to comment.