-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Description
Environment Information
- Platform:
- iOS
- macOS
- Package version(s): 0.23.0 using SwiftPM
- Xcode and OS versions: Xcode 15.0 in MacOS 13.6.2, target is iPhone simulator 17.0
Please provide a reproduction of the bug:
Just create a TwoLineTitleView
in empty view controller and check accessibility of the TwoLineTitleView
.
func addTwoLineView() {
let twolineView = TwoLineTitleView()
twolineView.frame = CGRect(x: 30, y: 100, width: 200, height: 40)
twolineView.setup(title: "title", subtitle: "subtitle", interactivePart: .subtitle)
twolineView.delegate = self
view.addSubview(twolineView)
}
Actual behavior:
The TwoLineTitleView
should act as two a11y element and tap each one would trigger the twoLineTitleViewDidTapOnTitle
method.
Expected behavior:
The TwoLineTitleView
should act as a whole a11y element as in teh Photo app
Priorities and help requested:
Are you willing to submit a PR to fix?: No
Requested priority: Normal
Products/applications affected: Not yet
Additional thought
I am thing what's the expected behavior here. Should we treate it as a whole element or not?
Metadata
Metadata
Assignees
Labels
No labels