What works is moving the modifier to the Text instead but I can't find this behavior change mentioned in release notes.
Update: cannot put contentDescription on TextFields either.
z
Zach Klippenstein (he/him) [MOD]
07/08/2021, 3:08 PM
I think there were some recent changes to the use of merged/unmerged trees for accessibility, but I’m not sure exactly how that relates to this.
Is that example actual code? “my-button” doesn’t seem like a very accessible content description for screen readers.