Chris Wu :toucan: on Nostr: I've gotten into trouble in the past because I didn't realize that making an opacity ...
I've gotten into trouble in the past because I didn't realize that making an opacity of zero to hide something didn't hide it from VoiceOver, which would still detect it. Jordi saw me mention that and even made it one of the "gotchas" for the Accessibility part of the SwiftUI Series he did.
I just realized that's not the case any more. VoiceOver is ignoring the element when its opacity is zero without me having to do anything else.
#SwiftUI #accessibility #a11y #VoiceOver
Published at
2024-02-05 00:01:00Event JSON
{
"id": "17d6c9728a3e15f24d99e8b957d0cf49ce47d44d5cadabadd644c1cd8ba2d62c",
"pubkey": "9ab610726c949270a7227388daba0598f646b65d9041f42f74b3ec97a2eb1a2d",
"created_at": 1707091260,
"kind": 1,
"tags": [
[
"t",
"swiftui"
],
[
"t",
"accessibility"
],
[
"t",
"a11y"
],
[
"t",
"voiceover"
],
[
"proxy",
"https://mastodon.social/users/MuseumShuffle/statuses/111875932862182197",
"activitypub"
]
],
"content": "I've gotten into trouble in the past because I didn't realize that making an opacity of zero to hide something didn't hide it from VoiceOver, which would still detect it. Jordi saw me mention that and even made it one of the \"gotchas\" for the Accessibility part of the SwiftUI Series he did.\n\nI just realized that's not the case any more. VoiceOver is ignoring the element when its opacity is zero without me having to do anything else.\n\n#SwiftUI #accessibility #a11y #VoiceOver\n\nhttps://files.mastodon.social/media_attachments/files/111/875/915/552/270/907/original/5f51e6118054c493.jpeg",
"sig": "63fe7079da0509c898135de68f0b5889cc36472fb0f5bfe4b84f3dcfe2c49188c7ece3bf1b666316473a95969a5de273dcfa22b0392d16ebc7f651e92eeafe97"
}