CXTDT-549888 - Voiceover issues on next/previous
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
57a7628837
commit
f432f6be0e
@ -174,7 +174,7 @@ open class Pagination: View {
|
|||||||
let isNextAction = sender == nextButton
|
let isNextAction = sender == nextButton
|
||||||
_selectedPageIndex = if isNextAction { _selectedPageIndex + 1 } else { _selectedPageIndex - 1 }
|
_selectedPageIndex = if isNextAction { _selectedPageIndex + 1 } else { _selectedPageIndex - 1 }
|
||||||
updateSelection()
|
updateSelection()
|
||||||
DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(100)) { [weak self] in
|
DispatchQueue.main.asyncAfter(deadline: .now() + 1) { [weak self] in
|
||||||
guard let self else { return }
|
guard let self else { return }
|
||||||
UIAccessibility.post(notification: .announcement, argument: "Page \(self.selectedPage) of \(self.total) selected")
|
UIAccessibility.post(notification: .announcement, argument: "Page \(self.selectedPage) of \(self.total) selected")
|
||||||
}
|
}
|
||||||
|
|||||||
@ -78,6 +78,11 @@ open class PaginationButton: ButtonBase {
|
|||||||
tintColor = color
|
tintColor = color
|
||||||
super.updateView()
|
super.updateView()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
open override func accessibilityActivate() -> Bool {
|
||||||
|
sendActions(for: .touchUpInside)
|
||||||
|
return true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension PaginationButton {
|
extension PaginationButton {
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
- CXTDT-544442 - Button Icon - Selected state needs to allow custom color
|
- CXTDT-544442 - Button Icon - Selected state needs to allow custom color
|
||||||
- CXTDT-546821 - TextArea - Accessibility - input field is not receiving swipe focus
|
- CXTDT-546821 - TextArea - Accessibility - input field is not receiving swipe focus
|
||||||
- CXTDT-547200 - Carousel scrollbar – Accessibility - The scrollbar is receiving right/ left swipe focus
|
- CXTDT-547200 - Carousel scrollbar – Accessibility - The scrollbar is receiving right/ left swipe focus
|
||||||
|
- CXTDT-549888 - Pagination - Accessibility - Next/Previous
|
||||||
|
|
||||||
1.0.59
|
1.0.59
|
||||||
----------------
|
----------------
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user