Skip to content

Commit

Permalink
Merge pull request #110 from wordpress-mobile/add/bottom-sheet-access…
Browse files Browse the repository at this point in the history
…ibility

Improve bottom sheet accessibility with label for dismiss button
  • Loading branch information
rachelmcr authored Mar 23, 2022
2 parents 71154a9 + 4b8fb33 commit 25181f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion WordPressUI.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Pod::Spec.new do |s|
s.name = 'WordPressUI'
s.version = '1.12.4'
s.version = '1.12.5-beta.1'

s.summary = 'Home of reusable WordPress UI components.'
s.description = <<-DESC
Expand Down
1 change: 1 addition & 0 deletions WordPressUI/BottomSheet/BottomSheetViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public class BottomSheetViewController: UIViewController {
let button = GripButton()
button.translatesAutoresizingMaskIntoConstraints = false
button.addTarget(self, action: #selector(buttonPressed), for: .touchUpInside)
button.accessibilityLabel = NSLocalizedString("Dismiss", comment: "Accessibility label for button to dismiss a bottom sheet")
return button
}()

Expand Down

0 comments on commit 25181f3

Please sign in to comment.