Commit 6589a14
Fix info button not having correct accessibility label (#3502)
Because `InfoButtonOrnament` is a `UIView` the `accesibilityLabel`
property is ignored. To address this we need to explicitly mark it as an
accessibility element and assign proper trait to it.
Alternative solution could be to assign accessibility label to the
internal `UIButton` instance, but I've decided against it as then the
label won't be configurable by external customers.
Addresses: https://mapbox.atlassian.net/browse/MAPSIOS-1825
cc @mapbox/sdk-ci
GitOrigin-RevId: 7e32856f09c39a86bdbc45a7b5acfe174dd426d91 parent 6532027 commit 6589a14
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
0 commit comments