Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit 25181f3

Browse files
authored
Merge pull request #110 from wordpress-mobile/add/bottom-sheet-accessibility
Improve bottom sheet accessibility with label for dismiss button
2 parents 71154a9 + 4b8fb33 commit 25181f3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

WordPressUI.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Pod::Spec.new do |s|
44
s.name = 'WordPressUI'
5-
s.version = '1.12.4'
5+
s.version = '1.12.5-beta.1'
66

77
s.summary = 'Home of reusable WordPress UI components.'
88
s.description = <<-DESC

WordPressUI/BottomSheet/BottomSheetViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public class BottomSheetViewController: UIViewController {
9595
let button = GripButton()
9696
button.translatesAutoresizingMaskIntoConstraints = false
9797
button.addTarget(self, action: #selector(buttonPressed), for: .touchUpInside)
98+
button.accessibilityLabel = NSLocalizedString("Dismiss", comment: "Accessibility label for button to dismiss a bottom sheet")
9899
return button
99100
}()
100101

0 commit comments

Comments
 (0)